Close stale issues and PRs #1057
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 * * *" | |
workflow_dispatch: | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v7 | |
with: | |
days-before-stale: 90 | |
days-before-close: 30 | |
stale-issue-message: >- | |
This issue has been automatically marked as stale because it has been | |
inactive for 90 days. To reactivate the issue, simply post a comment | |
with the requested information to help us diagnose this issue. If this | |
issue remains inactive for another 30 days, it will be automatically | |
closed. | |
close-issue-message: >- | |
This issue has been automatically closed due to inactivity. If you are | |
still experiencing problems, please open a new issue. | |
stale-pr-message: >- | |
This pull request has been automatically marked as stale because it has | |
been inactive for 90 days. To reactivate the pull request, review any | |
outstanding tasks, or add a comment to re-request a review. If the | |
pull request remains inactive for another 30 days, it will be | |
automatically closed. | |
close-pr-message: >- | |
This pull request has been automatically closed due to inactivity. If | |
you still want to submit a change, please open a new pull request. | |
stale-pr-label: stale | |
stale-issue-label: stale |