Close stale issues and PRs #77
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 issues and PRs" | |
on: | |
schedule: | |
- cron: "30 1 * * *" | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b | |
with: | |
stale-issue-message: "Old issues will be closed after 105 days of inactivity. This issue has been quiet for 90 days and is being marked as stale. Reply here to keep this issue open." | |
close-issue-message: "This issue is being closed due to inactivity. Is this a mistake? Please re-open this issue or create a new one." | |
stale-pr-message: "Old PRs will be closed after 30 days of inactivity. This PR has been quiet for 14 days and is being marked as stale. Reply here to keep this PR open." | |
close-pr-message: "This PR is being closed due to inactivity. Is this a mistake? Please re-open this PR or create a new one." | |
days-before-pr-stale: 14 | |
days-before-pr-close: 30 | |
days-before-issue-stale: 90 | |
days-before-issue-close: 105 | |
stale-issue-label: "stale" | |
stale-pr-label: "stale" | |
close-issue-label: "inactive" | |
close-pr-label: "inactive" | |
exempt-issue-labels: "not-stale" | |
exempt-pr-labels: "not-stale" |