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: "0 6 * * *" # Daily at 06:00 UTC | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| days-before-issue-stale: 60 | |
| days-before-issue-close: 7 | |
| stale-issue-message: > | |
| This issue has been automatically marked as stale because it has not had | |
| recent activity. It will be closed in 7 days if no further activity occurs. | |
| close-issue-message: > | |
| Closed due to inactivity. If this is still relevant, please reopen it. | |
| stale-issue-label: "status: stale" | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 7 | |
| stale-pr-message: > | |
| This PR has been automatically marked as stale because it has not had | |
| recent activity. It will be closed in 7 days if no further activity occurs. | |
| close-pr-message: > | |
| Closed due to inactivity. If this is still relevant, please reopen it. | |
| stale-pr-label: "status: stale" | |
| # Never mark these as stale | |
| exempt-issue-labels: "type: security,status: blocked,priority: critical" | |
| exempt-pr-labels: "type: security,status: blocked,priority: critical" | |
| exempt-milestones: true | |
| exempt-assignees: true | |
| remove-stale-when-updated: true | |
| operations-per-run: 50 |