Manage Stale Issues #7
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: Manage Stale Issues | |
| on: | |
| schedule: | |
| - cron: '30 1 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| # Issue configuration | |
| days-before-issue-stale: 30 | |
| days-before-issue-close: 7 | |
| stale-issue-label: 'status: stale' | |
| 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. | |
| If this issue is still relevant, please leave a comment to keep it open. | |
| close-issue-message: | | |
| This issue has been automatically closed due to inactivity. | |
| If you believe this is still relevant, please reopen it with additional context. | |
| close-issue-reason: 'not_planned' | |
| # PR configuration | |
| days-before-pr-stale: 45 | |
| days-before-pr-close: -1 | |
| stale-pr-label: 'status: stale' | |
| stale-pr-message: | | |
| This pull request has been automatically marked as stale because it has not had | |
| recent activity. Please update it or it may be closed. | |
| # Exemptions | |
| exempt-issue-labels: 'priority: P1,priority: P2,status: in-progress,status: confirmed' | |
| exempt-pr-labels: 'priority: P1,priority: P2,status: in-progress' | |
| exempt-all-assignees: true | |
| exempt-draft-pr: true | |
| # Behavior | |
| remove-stale-when-updated: true | |
| operations-per-run: 30 |