Close stale issues and PRs #4
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: | |
# Issues | |
stale-issue-message: This issue has been inactive for 60 days. It will be closed in 7 days if no further activity occurs. | |
close-issue-message: This issue has been closed due to inactivity. Please feel free to reopen it if needed. | |
exempt-issue-labels: 'dependencies,help-wanted' | |
stale-issue-label: stale | |
# Pull requests | |
stale-pr-message: This PR has been inactive for 60 days. It will be closed in 7 days if no further activity occurs. | |
close-pr-message: This PR has been closed due to inactivity. Please feel free to reopen it if needed. | |
exempt-pr-labels: dependencies | |
stale-pr-label: stale |