[skip ci] close stale issues monthly

This commit is contained in:
arkon 2022-07-21 22:32:11 -04:00
parent 44b3a546de
commit 3eb890fcb0
1 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,10 @@
name: "Batch close stale issues" name: "Batch close stale issues"
on: on:
# Monthly
schedule:
- cron: '0 0 1 * *'
# Manual trigger
workflow_dispatch: workflow_dispatch:
inputs: inputs:
@ -7,13 +12,12 @@ jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@v5 - uses: actions/stale@v5.1.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
# Close everything older than ~6 months # Close everything older than ~6 months
days-before-issue-stale: 180 days-before-issue-stale: 180
days-before-issue-close: 0 days-before-issue-close: 0
ignore-updates: true
any-of-issue-labels: "Source request" any-of-issue-labels: "Source request"
exempt-issue-labels: do-not-autoclose exempt-issue-labels: do-not-autoclose
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-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."