From b574396751a3b1c57d0bbaa19ab8f4f83590c73e Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 14 Nov 2023 19:55:14 -0800 Subject: [PATCH] Chore: Update lock-threads with discussions support (#4580) --- .github/workflows/repo-maintenance.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/repo-maintenance.yml b/.github/workflows/repo-maintenance.yml index f7147ddca..c732d0342 100644 --- a/.github/workflows/repo-maintenance.yml +++ b/.github/workflows/repo-maintenance.yml @@ -33,10 +33,11 @@ jobs: name: 'Lock Old Threads' runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v4 + - uses: dessant/lock-threads@v5 with: issue-inactive-days: '30' pr-inactive-days: '30' + discussion-inactive-days: '30' log-output: true issue-comment: > This issue has been automatically locked since there @@ -46,6 +47,10 @@ jobs: This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. + discussion-comment: > + This discussion has been automatically locked since there + has not been any recent activity after it was closed. + Please open a new discussion for related concerns. close-answered-discussions: name: 'Close Answered Discussions' runs-on: ubuntu-latest