Skip to content

Commit

Permalink
Add a workflow action to mark and autoclose stale issues
Browse files Browse the repository at this point in the history
  • Loading branch information
levan-m committed Jul 25, 2024
1 parent 1c66029 commit ebcab79
Showing 1 changed file with 18 additions and 0 deletions.
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

0 comments on commit ebcab79

Please sign in to comment.