From 3eb890fcb0dbfa38452d7da621c5ccd68ff7b7ce Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 21 Jul 2022 22:32:11 -0400 Subject: [PATCH] [skip ci] close stale issues monthly --- .github/workflows/batch_close_issues.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/batch_close_issues.yml b/.github/workflows/batch_close_issues.yml index 41fb42dfd..661661da1 100644 --- a/.github/workflows/batch_close_issues.yml +++ b/.github/workflows/batch_close_issues.yml @@ -1,5 +1,10 @@ name: "Batch close stale issues" + on: + # Monthly + schedule: + - cron: '0 0 1 * *' + # Manual trigger workflow_dispatch: inputs: @@ -7,13 +12,12 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v5 + - uses: actions/stale@v5.1.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} # Close everything older than ~6 months days-before-issue-stale: 180 days-before-issue-close: 0 - ignore-updates: true any-of-issue-labels: "Source request" 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."