Triage stale pull requests #51
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: "Triage stale pull requests" | |
on: | |
schedule: | |
- cron: "30 1 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
# docs - https://github.com/actions/stale | |
# don't mark issues as stale, only triage pull requests | |
days-before-issue-stale: -1 | |
days-before-issue-close: -1 | |
days-before-pr-stale: 30 | |
days-before-pr-close: 30 | |
ascending: true # start processing older pull requests first | |
stale-pr-label: "pr:stale" | |
stale-pr-message: > | |
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! | |
close-pr-message: > | |
This pull request has been automatically closed because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |