-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a workflow action to mark and autoclose stale issues
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |