Close stale issues #160
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 * * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/marketplace/actions/close-stale-issues | |
- uses: actions/stale@v9 | |
with: | |
# Make these short for the purposes of testing | |
days-before-stale: 1 | |
days-before-close: 2 | |
# Never close PRs | |
days-before-pr-close: -1 | |
# We only close issues with this label | |
only-labels: needs-reply | |
close-issue-label: closed-due-to-no-reply | |
# Messages that we put in comments on issues | |
stale-issue-message: | | |
It looks like this issue is expecting a response, but hasn't gotten one yet. If there are no responses in the next XYZ days, we'll assume that the issue has been abondoned and will close it. | |
close-issue-message: | | |
Per the above comment, it | |
I'm going to close this issue. If I'm wrong and this issue is *not* abondoned, please feel free to re-open it. Thank you! |