Skip to content

Close stale issues

Close stale issues #16

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
# This shouldn't be necessary, but put it here to as a
# fallback to the other github action that should remove
# needs-reply when a reply comes in. We keep this as a
# fallback and not a primary because the other Github action
# runs immediately upon comment creation; this Github action
# only runs once a day.
labels-to-remove-when-unstale: needs-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!