Close stale PRs #47
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: '30 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
# Disable staleness logic for issues. | |
days-before-stale: -1 | |
days-before-close: -1 | |
# Explicitly enable staleness logic for pull requests. | |
days-before-pr-stale: 30 | |
days-before-pr-close: 5 | |
stale-pr-message: 'This pull request is considered stale because it has been open 30 days with no activity. Remove stale label or comment or it will be closed in 5 days.' | |
close-pr-message: 'Closing pull request as it is stale.' |