From 556bd94b1663c95737641c2ecb9625b06efa16c5 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Mon, 11 Dec 2023 18:40:36 -0500 Subject: [PATCH] Lock thread after 365d of inactivity --- .github/workflows/lock-thread.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/lock-thread.yml diff --git a/.github/workflows/lock-thread.yml b/.github/workflows/lock-thread.yml new file mode 100644 index 000000000..1fc8d9c3f --- /dev/null +++ b/.github/workflows/lock-thread.yml @@ -0,0 +1,21 @@ +name: 'Lock Threads' + +on: + schedule: + # once a week on Saturday + - cron: '0 1 * * 6' + 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