Stale #18
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
| # Auto-handle stale issues and PRs. | |
| # | |
| # Conservative defaults: items get a stale label after 90 days of | |
| # inactivity and a close 30 days later. Anything labelled with a | |
| # priority, "status:blocked", an RFC, or "good first issue" is exempt | |
| # so the long-tail design work isn't pruned out. | |
| name: Stale | |
| on: | |
| schedule: | |
| - cron: "23 1 * * *" # 01:23 UTC every day | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| days-before-stale: 90 | |
| days-before-close: 30 | |
| stale-issue-label: "status:stale" | |
| stale-pr-label: "status:stale" | |
| exempt-issue-labels: "priority:high,priority:medium,status:blocked,type:rfc,good first issue,help wanted" | |
| exempt-pr-labels: "priority:high,priority:medium,status:blocked,type:rfc" | |
| stale-issue-message: >- | |
| This issue has been inactive for 90 days. It will be closed in | |
| 30 days unless someone comments or adds a `priority:` label. | |
| Please re-open or comment if it should stay tracked. | |
| stale-pr-message: >- | |
| This PR has been inactive for 90 days. It will be closed in | |
| 30 days unless someone resumes review. Please ping a maintainer | |
| if it should stay open. | |
| close-issue-message: >- | |
| Closed for inactivity. Re-open with fresh context if needed. | |
| close-pr-message: >- | |
| Closed for inactivity. Re-open with a rebase if you want to | |
| resume the change. | |
| operations-per-run: 100 |