From d7c6063d1a21b78f0a985a3f4e51ad1c24652b18 Mon Sep 17 00:00:00 2001 From: Andy Jordan <2226434+andyleejordan@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:26:36 -0800 Subject: [PATCH] Add a `Needs: Fix Verification` issue action --- .github/workflows/close-stale-issues.yml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 27c2bb0a22..9981d319d0 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -1,4 +1,4 @@ -name: Close Stale Issues +name: Issue Tidying permissions: issues: write @@ -12,22 +12,33 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/stale@v8 - name: Close issues labeled as resolved after 1 week of inactivity + name: Close resolved issues immediately with: any-of-labels: "Resolution-Answered,Resolution-Duplicate,Resolution-External,Resolution-Fixed,Resolution-Inactive" + days-before-stale: -1 + days-before-close: 0 + labels-to-remove-when-stale: "Needs: Maintainer Attention,Needs: Triage" + exempt-issue-labels: "Needs: Fix Verification,Needs: Author Feedback" + close-issue-reason: completed + close-issue-message: "This issue has been labeled as resolved. It has been closed for housekeeping purposes." + stale-fixed-issues: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + name: Close issues needing fix verification after 1 week of inactivity + with: stale-issue-label: "Needs: Fix Verification" - days-before-stale: 0 + days-before-stale: -1 days-before-close: 7 labels-to-remove-when-stale: "Needs: Maintainer Attention,Needs: Triage" labels-to-add-when-unstale: "Needs: Maintainer Attention" - exempt-issue-labels: "Needs: Maintainer Attention" close-issue-reason: completed - close-issue-message: "This issue has been labeled as resolved and has not had any activity a week. It has been closed for housekeeping purposes." + close-issue-message: "This issue has been labeled as needing fix verification and has not had any activity a week. It has been closed for housekeeping purposes." stale-feedback-issues: runs-on: ubuntu-latest steps: - uses: actions/stale@v8 - name: Close issues labeled as needs feedback after 1 week of inactivity + name: Close issues needing author feedback after 1 week of inactivity with: stale-issue-label: "Needs: Author Feedback" days-before-stale: -1