Stale PR Handler #709
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: 'Stale PR Handler' | |
on: | |
schedule: | |
- cron: '0 6 * * *' | |
permissions: | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
id: stale | |
# Read about options here: https://github.com/actions/stale#all-options | |
with: | |
# do not mark issues as stale (they're used for planning) | |
days-before-issue-stale: -1 | |
days-before-stale: 30 | |
stale-pr-message: > | |
"This PR was marked stale because it has been open for 30 days without activity. If nothing happens, it will be closed 3 days from now." | |
days-before-close: 3 | |
close-pr-message: 'This PR was closed because nothing happened for 3 days after becoming stale.' | |
delete-branch: true | |
exempt-pr-labels: 'dependencies' |