Stale Issues and PRs #118
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: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: Close Stale Issues and PRs | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Stale Issues and PRs | |
| uses: actions/stale@v10 | |
| 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 7 days if no further activity occurs. | |
| If this issue is still relevant, please add a comment to keep it open. | |
| close-issue-message: | | |
| This issue was automatically closed due to inactivity. | |
| Feel free to 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' | |
| stale-pr-message: | | |
| This pull request 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 rebase and update if you'd like to continue working on this PR. | |
| close-pr-message: | | |
| This pull request was automatically closed due to inactivity. | |
| Feel free to reopen and update it if you'd like to continue. | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 14 | |
| stale-pr-label: stale | |
| exempt-pr-labels: 'pinned,security,work-in-progress' | |
| operations-per-run: 30 |