Close stale issues and PRs #145
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 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-stale: 90 | |
days-before-close: 30 | |
stale-pr-label: 'stale' | |
stale-issue-label: 'stale' | |
stale-pr-message: > | |
This pull request has been automatically marked as stale because it has not had activity within 90 days. | |
It will be automatically closed if no further activity occurs within 30 days. | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has not had activity within 90 days. | |
It will be automatically closed if no further activity occurs within 30 days. | |
close-pr-message: > | |
This pull request has been automatically closed due to inactivity. Please feel free to reopen if you intend to continue working on it! | |
close-issue-message: > | |
This issue has been automatically closed due to inactivity. Please feel free to reopen if you feel it is still relevant! |