Close stale PRs #265
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: "27 7 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-pr-message: "Hi there, as this PR has not seen any activity in the last 30 days, it will be closed in 15 days unless there are any updates." | |
close-pr-message: "Hi there, to keep things tidy, we're closing PRs after one and a half months of inactivity.\nFeel free to create a new pull request when you're ready to continue. Thanks for your understanding!" | |
days-before-stale: 30 | |
days-before-close: 15 | |
stale-pr-label: stale | |
exempt-pr-labels: Ready for review | |
operations-per-run: 40 |