stalebot #535
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: stalebot | |
on: | |
schedule: | |
# Random minute number to avoid GH scheduler stampede | |
- cron: '39 22 * * *' | |
jobs: | |
process-stale-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
with: | |
days-before-issue-stale: 365 # 1 year | |
days-before-issue-close: 30 | |
stale-issue-label: "stale" | |
stale-issue-message: "This issue is stale because it has been open for 365 days with no activity." | |
close-issue-message: "This issue was closed because it has been inactive for 30 days since being marked as stale." | |
days-before-pr-stale: -1 # Don't handle PRs | |
days-before-pr-close: -1 # Don't handle PRs |