Close Stale PRs #184
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 * * *' | |
permissions: read-all | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-pr-message: 'This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month.' | |
stale-issue-message: This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month.' | |
remove-stale-when-updated: true | |
exempt-pr-labels: "never-stale" | |
exempt-issue-labels: "never-stale" | |
# 1 month | |
days-before-stale: 31 | |
# 1 month | |
days-before-close: 31 | |
only-labels: 'waiting-on-response' |