Close stale PRs #18111
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: "0 * * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-stale: -1 | |
days-before-close: -1 | |
stale-pr-message: "This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment." | |
stale-pr-label: "status:stale" | |
close-pr-message: "This pull request was closed because it has been stale for 14 days with no activity. If this pull request is important or you have more to add feel free to re-open it." | |
days-before-pr-stale: 14 | |
days-before-pr-close: 14 | |
exempt-issue-labels: "needs:attention,needs:triage,blocked" | |
ascending: true # https://github.com/actions/stale#ascending | |
operations-per-run: 500 |