Close stale issues and PRs #417
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: 'Close stale issues and PRs' | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8 | |
with: | |
stale-issue-message: 'This issue has been marked as stale because it has been open for 180 days with no activity. Please remove the stale label or comment or this issue will be closed in 5 days.' | |
close-issue-message: 'This issue was closed because it has been inactive for 185 days with no activity.' | |
stale-pr-message: 'This pull request has been marked as stale because it has been open for 60 days with no activity. Please remove the stale label or comment or this pull request will be closed in 5 days.' | |
close-pr-message: 'This pull request was closed because it has been inactive for 65 days with no activity.' | |
days-before-issue-stale: 180 | |
days-before-issue-close: 5 | |
days-before-pr-stale: 60 | |
days-before-pr-close: 5 |