Close stale issues #86
This file contains hidden or 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
| name: Close stale issues | |
| # Marks an issue stale after a stretch of inactivity and closes it later, | |
| # UNLESS it's been triaged — i.e. it has a milestone, or one of the keep-open | |
| # labels below. Any comment resets the clock, so a reporter can keep an issue | |
| # alive just by replying. Pull requests are left untouched. | |
| on: | |
| schedule: | |
| - cron: "30 1 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| contents: read | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| days-before-issue-stale: 60 | |
| days-before-issue-close: 14 | |
| stale-issue-label: "stale" | |
| # Any milestone means it's planned → never stale. | |
| exempt-all-issue-milestones: true | |
| # Triaged / keep-open signals. Anything carrying one of these is | |
| # never marked stale. | |
| exempt-issue-labels: >- | |
| bug, | |
| security, | |
| help wanted | |
| stale-issue-message: >- | |
| This issue has had no activity for 60 days and hasn't been | |
| scheduled (no milestone), so it's been marked **stale**. It will | |
| close in 14 days unless there's new activity. If it's still | |
| relevant, leave a comment and we'll take another look. Thanks | |
| for the report! | |
| close-issue-message: >- | |
| Closing this as stale after no further activity. This isn't a | |
| judgement on the idea — feel free to reopen or comment any time and | |
| we'll pick it back up. | |
| # Leave pull requests alone. | |
| days-before-pr-stale: -1 | |
| days-before-pr-close: -1 | |
| ascending: true |