From 0a8ca25d4f8b3679b35b9caa82743bc31653496b Mon Sep 17 00:00:00 2001 From: gmt2001 Date: Fri, 13 Sep 2024 00:44:05 -0400 Subject: [PATCH] Add lock-threads action --- .github/workflows/lock-threads.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/lock-threads.yml diff --git a/.github/workflows/lock-threads.yml b/.github/workflows/lock-threads.yml new file mode 100644 index 00000000000..6cc46cb27dd --- /dev/null +++ b/.github/workflows/lock-threads.yml @@ -0,0 +1,24 @@ +name: 'Lock Threads' + +on: + schedule: + - cron: '0 * * * *' + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + discussions: write + +concurrency: + group: lock-threads + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v5 + with: + issue-inactive-days: '60' + pr-inactive-days: '60' + discussion-inactive-days: '60' \ No newline at end of file