From 2f3a2bcc0a88e22c2b1faed9f4b83d6023e9b1f4 Mon Sep 17 00:00:00 2001 From: John L <47447266+aBurmeseDev@users.noreply.github.com> Date: Mon, 28 Aug 2023 00:54:47 -0700 Subject: [PATCH 1/3] chore: update auto-closing on stale discussions This will update auto-closing stale discussions as outdated instead of resolved. --- .github/workflows/handle-stale-discussions.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/handle-stale-discussions.yml b/.github/workflows/handle-stale-discussions.yml index d2245685f274..0c49197808ae 100644 --- a/.github/workflows/handle-stale-discussions.yml +++ b/.github/workflows/handle-stale-discussions.yml @@ -15,7 +15,9 @@ jobs: - name: Stale discussions action uses: aws-github-ops/handle-stale-discussions@v1 with: + # This will stale-discussions as outdated instead of answered + close-stale-as-answered: false # This will disable auto-closing answered discussions - close-answered-discussion: false + close-answered-discussions: false env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} From d3a9acedaa23f010649154faf14503904527f85f Mon Sep 17 00:00:00 2001 From: John L <47447266+aBurmeseDev@users.noreply.github.com> Date: Mon, 28 Aug 2023 09:38:04 -0700 Subject: [PATCH 2/3] chore: update runtime of the workflow Update workflow to run every Monday at 4:00pm --- .github/workflows/handle-stale-discussions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/handle-stale-discussions.yml b/.github/workflows/handle-stale-discussions.yml index 0c49197808ae..1ee76cb4049c 100644 --- a/.github/workflows/handle-stale-discussions.yml +++ b/.github/workflows/handle-stale-discussions.yml @@ -1,7 +1,7 @@ name: HandleStaleDiscussions on: schedule: - - cron: '0 */4 * * *' + - cron: "0 4 * * 1" discussion_comment: types: [created] From f968abdd084dac6641173aa68a30c41158902ff2 Mon Sep 17 00:00:00 2001 From: John L <47447266+aBurmeseDev@users.noreply.github.com> Date: Tue, 29 Aug 2023 11:14:15 -0700 Subject: [PATCH 3/3] fix: typo in comment --- .github/workflows/handle-stale-discussions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/handle-stale-discussions.yml b/.github/workflows/handle-stale-discussions.yml index 1ee76cb4049c..f89938e11b48 100644 --- a/.github/workflows/handle-stale-discussions.yml +++ b/.github/workflows/handle-stale-discussions.yml @@ -15,7 +15,7 @@ jobs: - name: Stale discussions action uses: aws-github-ops/handle-stale-discussions@v1 with: - # This will stale-discussions as outdated instead of answered + # This will close stale-discussions as outdated instead of answered close-stale-as-answered: false # This will disable auto-closing answered discussions close-answered-discussions: false