Close stale issues #40
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 | |
| on: | |
| schedule: | |
| - cron: '17 5 * * *' # daily, off-peak | |
| workflow_dispatch: {} | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| days-before-stale: 14 | |
| days-before-close: 7 | |
| stale-issue-message: > | |
| This issue has been inactive for 14 days while waiting on | |
| additional information. It will close automatically in 7 days | |
| unless someone responds. If you still need help, drop a | |
| comment with the requested details and a maintainer can | |
| reopen. | |
| close-issue-message: > | |
| Closing for inactivity. Feel free to comment to reopen if | |
| you can share the requested information. | |
| stale-issue-label: 'stale' | |
| only-labels: 'needs-info' | |
| exempt-issue-labels: 'pinned,keep-open,bug,security' | |
| # Don't touch PRs — `actions/stale` defaults can be aggressive | |
| # there. We only want it for `needs-info` issues. | |
| days-before-pr-stale: -1 | |
| days-before-pr-close: -1 | |
| operations-per-run: 60 |