Close stale issues and PRs #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: 'Close stale issues and PRs' | |
| on: | |
| schedule: | |
| - cron: '0 6 * * 1' # Every Monday at 6 AM UTC | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| 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.' | |
| 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-issue-message: 'This issue was closed because it has been stale for 7 days with no activity.' | |
| close-pr-message: 'This PR was closed because it has been stale for 7 days with no activity.' | |
| days-before-stale: 30 | |
| days-before-close: 7 | |
| stale-issue-label: 'stale' | |
| stale-pr-label: 'stale' | |
| exempt-issue-labels: 'priority: high,pinned' | |
| exempt-pr-labels: 'priority: high,pinned' |