This repository was archived by the owner on May 20, 2026. It is now read-only.
Stale Issue/PR Cleanup #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: Stale Issue/PR Cleanup | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Daily midnight UTC | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: Close stale items | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| stale-issue-message: > | |
| This issue has been automatically marked as stale because it has not had | |
| recent activity. It will be closed in 14 days if no further activity occurs. | |
| If this issue is still relevant, please comment or remove the stale label. | |
| 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. | |
| Please update or close it if it's no longer needed. | |
| close-issue-message: 'Closed due to inactivity. Feel free to reopen if still relevant.' | |
| close-pr-message: 'Closed due to inactivity. Feel free to reopen with updates.' | |
| days-before-stale: 30 | |
| days-before-close: 14 | |
| days-before-pr-close: 7 | |
| stale-issue-label: 'stale' | |
| stale-pr-label: 'stale' | |
| exempt-issue-labels: 'pinned,security,blocked' | |
| exempt-pr-labels: 'pinned,security,blocked' |