Close stale issues/PRs #497
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
--- | |
# yamllint disable rule:line-length | |
name: Close stale issues/PRs | |
on: # yamllint disable-line rule:truthy | |
schedule: | |
- cron: "43 5 * * *" # Daily @ 05:43 | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
name: Close stale issues/PRs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0 | |
with: | |
days-before-issue-stale: -1 | |
days-before-issue-close: -1 | |
days-before-pr-stale: 60 | |
days-before-pr-close: 30 | |
stale-pr-message: > | |
This pull request has been automatically marked as stale because it | |
has not had recent activity. It will be closed in 30 days if no | |
further activity occurs. Thank you for your contributions. | |
close-pr-message: > | |
This pull request has been automatically closed due to inactivity. | |
Please re-open if these changes are still required. |