2021-08-16 14:33:00 +00:00
name : "Batch close stale issues"
2022-07-22 02:32:11 +00:00
2021-08-16 14:33:00 +00:00
on :
2022-07-22 02:32:11 +00:00
# Monthly
schedule :
- cron : '0 0 1 * *'
# Manual trigger
2021-08-16 14:33:00 +00:00
workflow_dispatch :
inputs :
jobs :
stale :
runs-on : ubuntu-latest
steps :
2023-01-27 03:24:47 +00:00
- uses : actions/stale@v7
2021-08-16 14:33:00 +00:00
with :
repo-token : ${{ secrets.GITHUB_TOKEN }}
2022-07-19 02:37:27 +00:00
# Close everything older than ~6 months
days-before-issue-stale : 180
2021-08-16 14:39:46 +00:00
days-before-issue-close : 0
2022-07-19 02:37:27 +00:00
any-of-issue-labels : "Source request"
2021-08-16 14:56:08 +00:00
exempt-issue-labels : do-not-autoclose
2022-07-19 02:37:27 +00:00
close-issue-message : "In an effort to have a more manageable issue backlog, we're closing older requests that weren't addressed. If you think the source may still benefit others, please open a new request."
close-issue-reason : not_planned
2021-08-16 14:39:46 +00:00
ascending : true
2022-07-19 02:37:27 +00:00
operations-per-run : 250