Close Stale Issues and PRs #949
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 * * * | |
jobs: | |
close-stale-issues-and-prs: | |
name: Close stale issues and PRs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Close stale issues and PRs | |
# yamllint disable-line rule:line-length | |
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
with: | |
days-before-stale: 30 | |
days-before-close: 14 | |
stale-issue-label: stale | |
stale-pr-label: stale | |
exempt-all-milestones: true | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has not | |
had any activity in the last 30 days. It will be closed in 2 weeks | |
if no further activity occurs. Please feel free to give a status | |
update now, or re-open when it's ready. Thank you for your | |
contributions! | |
stale-pr-message: > | |
This pull request has been automatically marked as stale because it | |
has not had any activity in the last 30 days. It will be closed in 2 | |
weeks if no further activity occurs. Please feel free to give a | |
status update now, ping for review, or re-open when it's ready. | |
Thank you for your contributions! | |
close-issue-message: > | |
This issue has been automatically closed because it has not had any | |
activity in the last 2 weeks. Please feel free to give a status | |
update now, or re-open when it's ready. Thank you for your | |
contributions! | |
close-pr-message: > | |
This pull request has been automatically closed because it has not | |
had any activity in the last 2 weeks. Please feel free to give a | |
status update now, ping for review, or re-open when it's ready. | |
Thank you for your contributions! |