Close stale issues #46
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: "0 3 * * *" | |
| permissions: | |
| actions: write | |
| issues: write | |
| # contents: write # only for delete-branch option | |
| # pull-requests: write | |
| jobs: | |
| stale: | |
| name: Stale | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| days-before-stale: 30 | |
| days-before-close: 5 | |
| days-before-pr-stale: -1 # Ignore all PRs | |
| stale-issue-message: "Issues with no activity for 30 days are marked stale and subject to being closed." | |
| close-issue-message: "This issue has been closed for inactivity. Please re-open if this was a mistake." | |
| exempt-issue-labels: "lifecycle/keep" | |
| stale-issue-label: "lifecycle/stale" | |
| operations-per-run: 500 # Must respect GitHub API limits | |
| debug-only: false # Set this to 'true' to disable stale issue management |