Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a workflow action to mark and autoclose stale issues #1315

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/staler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Close stale issues'
on:
schedule:
- cron: '0 12 * * 1'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: 'This issue is marked as stale since there has not been any activity in over a year. It will be closed in 10 days'
close-issue-message: 'This issue has been closed after being marked stale for more than 10 days'
days-before-issue-stale: 365
days-before-issue-close: 10
exempt-issue-labels: no stale,enhancement,feature request,bug,feature/datadog-monitor,feature/slo
stale-issue-label: stale
close-issue-label: autoclosed
Loading