Close stale Issues and PRs #26
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@v7 | |
with: | |
start-date: "2023-07-01T00:00:00Z" | |
close-issue-message: "This **Issue** has been automatically closed because it has had no new activity for a month." | |
close-pr-message: "This **Pull-Request** has been automatically closed because it has had no new activity for a month." | |
stale-issue-message: "This **Issue** has not been updated for a while and will be closed soon." | |
stale-pr-message: "This **Pull-Request** has not been updated for a while and will be closed soon." | |
days-before-stale: 60 | |
days-before-close: 10 | |
exempt-all-milestones: true | |
exempt-issue-labels: security | |
exempt-pr-labels: security | |
stale-issue-label: stale | |
stale-pr-label: stale |