Mark Stale Issues and PRs #15
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: Mark Stale Issues and PRs | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Daily | |
| 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 }} | |
| 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 7 days. Thank you for your contributions.' | |
| 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 7 days. Thank you for your contributions.' | |
| close-issue-message: 'This issue was automatically closed due to inactivity. Please reopen if you believe this is still relevant.' | |
| close-pr-message: 'This pull request was automatically closed due to inactivity. Please reopen if you believe this is still relevant.' | |
| stale-issue-label: 'stale' | |
| stale-pr-label: 'stale' | |
| days-before-issue-stale: 60 | |
| days-before-pr-stale: 30 | |
| days-before-issue-close: 7 | |
| days-before-pr-close: 7 | |
| exempt-issue-labels: 'pinned,security,bug,enhancement' | |
| exempt-pr-labels: 'pinned,security' | |
| operations-per-run: 30 | |