Close Stale PRs #178
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 PRs' | |
on: | |
schedule: | |
- cron: '00 1 * * *' | |
permissions: | |
pull-requests: write | |
jobs: | |
close-stale-prs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/stale@v6 | |
with: | |
stale-pr-message: 'This pull request has had no activity for one year, it will be closed in 1 week if no further activity occurs.' | |
close-pr-message: 'This pull request was closed because it had no activity for more than one year.' | |
days-before-pr-stale: 365 | |
days-before-pr-close: 7 |