From 0a516997f23b4669474446f941364b6ebc2d7ef8 Mon Sep 17 00:00:00 2001 From: John L <47447266+aBurmeseDev@users.noreply.github.com> Date: Fri, 25 Aug 2023 14:02:23 -0700 Subject: [PATCH] Disable auto-closing answered discussions This prevents auto-closing answered discussions with the bot since Github UI only searches open discussions and discoverability drops once you hide it from the default search experience. --- .github/workflows/handle-stale-discussions.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/handle-stale-discussions.yml b/.github/workflows/handle-stale-discussions.yml index 2b89f2da15f2..d2245685f274 100644 --- a/.github/workflows/handle-stale-discussions.yml +++ b/.github/workflows/handle-stale-discussions.yml @@ -14,5 +14,8 @@ jobs: steps: - name: Stale discussions action uses: aws-github-ops/handle-stale-discussions@v1 + with: + # This will disable auto-closing answered discussions + close-answered-discussion: false env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}