From 485207be7afb64f6ce431b9e7b752ed3fd993e67 Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Fri, 2 Aug 2024 13:05:35 -0600 Subject: [PATCH 1/2] Add new lock GH action --- .github/workflows/lock.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/lock.yml diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 00000000000..674ed276cbd --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,19 @@ +name: 'Lock Threads' + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v5 + with: + process-only: 'issues' + issue-inactive-days: '14' + issue-comment: > + This issue has been automatically locked. If you believe you have + found a related problem, please read our guide on feedback + (https://github.com/posit-dev/positron/wiki/Feedback-and-Issues) + and open a new issue, linking to this issue. From c9e50555bdd41bafa869d4dc1f57562670bad34c Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Mon, 5 Aug 2024 08:46:03 -0600 Subject: [PATCH 2/2] Remove comment, for no notification --- .github/workflows/lock.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 674ed276cbd..6eb0528d90b 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -12,8 +12,3 @@ jobs: with: process-only: 'issues' issue-inactive-days: '14' - issue-comment: > - This issue has been automatically locked. If you believe you have - found a related problem, please read our guide on feedback - (https://github.com/posit-dev/positron/wiki/Feedback-and-Issues) - and open a new issue, linking to this issue.