Close stale pull requests #899
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
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
# Github Actions Stale: https://github.com/actions/stale | |
name: "Close stale pull requests" | |
on: | |
schedule: | |
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 7 days.' | |
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.' | |
operations-per-run: 400 | |
days-before-pr-stale: 7 | |
days-before-issue-stale: -1 | |
days-before-pr-close: 7 | |
days-before-issue-close: -1 |