Close Stale Issues and PRs #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
| name: Close Stale Issues and PRs | |
| on: | |
| schedule: | |
| - cron: '37 2 * * *' | |
| workflow_dispatch: {} | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| 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 30 days if no further activity occurs. | |
| If this issue is still relevant, please comment to keep it open. | |
| stale-pr-message: > | |
| This PR 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. | |
| Please update the PR or comment to keep it open. | |
| close-issue-message: > | |
| This issue was closed because it has been inactive for 120 days. | |
| Feel free to reopen if this is still relevant. | |
| close-pr-message: > | |
| This PR was closed because it has been inactive for 104 days. | |
| Feel free to reopen if you'd like to continue the work. | |
| days-before-stale: 120 | |
| days-before-close: 30 | |
| days-before-pr-stale: 120 | |
| days-before-pr-close: 30 | |
| stale-issue-label: 'stale' | |
| stale-pr-label: 'stale' | |
| exempt-issue-labels: 'pinned,security,RFC' | |
| exempt-pr-labels: 'pinned,work-in-progress' | |
| operations-per-run: 100 |