Stale Issues and PRs #69
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 Issues and PRs' | |
| on: | |
| schedule: | |
| # Run daily at 00:00 UTC | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Issue settings | |
| stale-issue-message: > | |
| This issue has been automatically marked as stale because it has not had | |
| recent activity. It will be closed if no further activity occurs within | |
| the next 7 days. If this issue is still relevant, please leave a comment | |
| to keep it open. Thank you for your contributions! | |
| close-issue-message: > | |
| This issue was automatically closed because it has been stale for 7 days | |
| with no activity. If you believe this issue is still relevant, please | |
| reopen it or create a new issue with updated information. | |
| days-before-stale: 60 | |
| days-before-close: 7 | |
| stale-issue-label: 'stale' | |
| exempt-issue-labels: 'pinned,security,bug,enhancement,good first issue' | |
| # PR settings | |
| stale-pr-message: > | |
| This pull request has been automatically marked as stale because it has not had | |
| recent activity. It will be closed if no further activity occurs within | |
| the next 7 days. If this PR is still relevant, please leave a comment | |
| or push new commits to keep it open. Thank you for your contributions! | |
| close-pr-message: > | |
| This pull request was automatically closed because it has been stale for 7 days | |
| with no activity. If you believe this PR is still relevant, please | |
| reopen it or create a new PR with updated changes. | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 7 | |
| stale-pr-label: 'stale' | |
| exempt-pr-labels: 'pinned,security,in-progress,blocked' | |
| # Operation limits | |
| operations-per-run: 100 | |
| remove-stale-when-updated: true | |
| ascending: true |