From b7f8c5e1c3f90b902ecb1f570d015d8847b3abb3 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Wed, 14 Jan 2026 17:36:31 -0500 Subject: [PATCH 1/2] ci: switched stalesweeper action to use thenick775/stalesweeper --- .github/workflows/discussions-stale.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/discussions-stale.yml b/.github/workflows/discussions-stale.yml index 1ddf2f6..457c5b2 100644 --- a/.github/workflows/discussions-stale.yml +++ b/.github/workflows/discussions-stale.yml @@ -25,7 +25,7 @@ jobs: max-parallel: 1 # run one at a time to attempt to avoid GitHub api rate limits steps: - name: stalesweeper - uses: steffen-karlsson/stalesweeper@cbed739a89b490f703d8466fb59b37ddc0915889 # v1.1.1 + uses: thenick775/stalesweeper@eeb7723f2e609a0380ff8ca7813580944dd193a6 # repo does not have releases with: repo-token: ${{ secrets.GH_BOT_TOKEN }} message: > @@ -39,4 +39,3 @@ jobs: close-reason: 'OUTDATED' # todo: dry-run default is true during testing dry-run: ${{ github.event_name == 'schedule' && 'true' || github.event.inputs.dry-run }} - verbose: 'true' From ed37526e247221937f2b68aaecbdb351ace7d5a2 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Wed, 14 Jan 2026 18:28:36 -0500 Subject: [PATCH 2/2] Update stale discussion workflow configuration Added 'Libraries' to the category matrix and set DAYS_BEFORE_CLOSE to 365 days. Updated the close message, exempted 'Feature Request' label, and refactored environment variable usage for days-before-close. --- .github/workflows/discussions-stale.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/discussions-stale.yml b/.github/workflows/discussions-stale.yml index 457c5b2..87d6afb 100644 --- a/.github/workflows/discussions-stale.yml +++ b/.github/workflows/discussions-stale.yml @@ -20,22 +20,23 @@ jobs: category: - 'Actions' - 'GSMS' + - 'Libraries' - 'Sunshine' - 'Themerr' max-parallel: 1 # run one at a time to attempt to avoid GitHub api rate limits steps: - name: stalesweeper uses: thenick775/stalesweeper@eeb7723f2e609a0380ff8ca7813580944dd193a6 # repo does not have releases + env: + DAYS_BEFORE_CLOSE: '365' + DRY_RUN: ${{ github.event_name == 'schedule' && 'false' || github.event.inputs.dry-run }} with: - repo-token: ${{ secrets.GH_BOT_TOKEN }} - message: > - It seems this discussion hasn't had any activity in the past 90 days. - To help keep our backlog tidy, we'll be closing this discussion. - If it's still something you'd like addressed, please let us know by leaving a comment. - Thanks! - days-before-close: '90' - close-unanswered: 'true' category: ${{ matrix.category }} close-reason: 'OUTDATED' - # todo: dry-run default is true during testing - dry-run: ${{ github.event_name == 'schedule' && 'true' || github.event.inputs.dry-run }} + close-unanswered: 'true' + days-before-close: '${{ env.DAYS_BEFORE_CLOSE}}' + dry-run: ${{ env.DRY_RUN }} + exempt-labels: 'Feature Request' + message: > + This discussion was automatically closed because it has been inactive for ${{ env.DAYS_BEFORE_CLOSE}} days. + repo-token: ${{ secrets.GH_BOT_TOKEN }}