Manage Stale Issues and PRs #514
This file contains 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: Manage Stale Issues and PRs | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-stale: 90 | |
days-before-close: 30 | |
close-issue-label: rotten | |
close-pr-label: rotten | |
stale-issue-label: stale | |
stale-pr-label: stale | |
exempt-issue-labels: frozen | |
exempt-pr-labels: frozen | |
close-issue-message: This issue is closed due to inactivity. Feel free to reopen it, if it's still relevant. | |
close-pr-message: This PR is closed due to inactivity. Feel free to reopen it, if it's still relevant. | |
stale-issue-message: This issue is marked as stale due to inactivity. Add a new comment to reactivate it. | |
stale-pr-message: This PR is marked as stale due to inactivity. Add a new comment to reactivate it. | |
remove-issue-stale-when-updated: true | |
remove-pr-stale-when-updated: true |