From 44422e79c6b2ea963a6024ead772da2d3e50e1a1 Mon Sep 17 00:00:00 2001 From: John L <47447266+aBurmeseDev@users.noreply.github.com> Date: Mon, 28 Aug 2023 00:56:11 -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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/handle-stale-discussions.yml b/.github/workflows/handle-stale-discussions.yml index 1f547e7308..0c49197808 100644 --- a/.github/workflows/handle-stale-discussions.yml +++ b/.github/workflows/handle-stale-discussions.yml @@ -15,6 +15,8 @@ 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-discussions: false env: From c08a3c4509ad40c01069a7021e3a664be54a3ff8 Mon Sep 17 00:00:00 2001 From: John L <47447266+aBurmeseDev@users.noreply.github.com> Date: Mon, 28 Aug 2023 09:42:13 -0700 Subject: [PATCH 2/3] chore: update schedule 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 0c49197808..1ee76cb404 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 ae6d5216f2dc94cc7d7a64760fb1524bf7ede742 Mon Sep 17 00:00:00 2001 From: John L <47447266+aBurmeseDev@users.noreply.github.com> Date: Tue, 29 Aug 2023 11:15:11 -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 1ee76cb404..f89938e11b 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