From 4807058f0e63c325fa15a9c5099d3d2eb21159ed Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 18 Jul 2022 22:37:27 -0400 Subject: [PATCH] [skip ci] Limit stale issue closer to source requests, but make it more aggressive --- .github/workflows/batch_close_issues.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/batch_close_issues.yml b/.github/workflows/batch_close_issues.yml index fc14f93c1..41fb42dfd 100644 --- a/.github/workflows/batch_close_issues.yml +++ b/.github/workflows/batch_close_issues.yml @@ -7,13 +7,16 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v4 + - uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - # Close everything older than 1 year - days-before-issue-stale: 365 + # 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 issues older than 1 year. If you think your request or report is still relevant and may benefit others, please open a new issue." + 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 ascending: true - operations-per-run: 250 \ No newline at end of file + operations-per-run: 250