Close stale PRs #81
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 | |
# run at 23:00 every day | |
on: | |
schedule: | |
- cron: "0 23 * * *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-issue-stale: -1 | |
days-before-issue-close: -1 | |
stale-issue-label: "stale" | |
stale-issue-message: "This PR is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this PR will be closed automatically." | |
close-issue-message: "This PR was closed because it has been inactive for 14 days since being marked as stale." | |
days-before-pr-stale: 30 | |
days-before-pr-close: 14 | |
exempt-issue-labels: "keep" |