From 480b57178b73704a02ad4c8b3d8a388eb15d9ab3 Mon Sep 17 00:00:00 2001 From: szaimen Date: Sun, 13 Mar 2022 20:42:39 +0100 Subject: [PATCH] lock closed issues after 14 days of inactivity Signed-off-by: szaimen --- .github/workflows/lock-threads.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 00000000..bd0fa095 --- /dev/null +++ b/.github/workflows/lock-threads.yml @@ -0,0 +1,20 @@ +name: 'Lock Threads' + +on: + schedule: + - cron: '0 * * * *' + +permissions: + issues: write + +concurrency: + group: lock + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v3 + with: + issue-inactive-days: '14' + process-only: 'issues'