Close stale issues and PRs #426
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: "0 0 * * *" # every day at 00:00 UTC | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
days-before-stale: 30 | |
days-before-close: 1 | |
stale-issue-label: stale | |
exempt-issue-labels: pending | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has not had recent activity. | |
It will be closed if no further activity occurs. | |
Thank you for your contributions. | |
stale-pr-label: stale | |
exempt-pr-labels: pending | |
stale-pr-message: > | |
This PR has been automatically marked as stale because it has not had recent activity. | |
It will be closed if no further activity occurs. | |
Thank you for your contributions. |