From 09fcff89f2c217446f25aa9d62f955b12e283134 Mon Sep 17 00:00:00 2001 From: Vincent van Hees Date: Wed, 1 Nov 2023 15:58:42 +0100 Subject: [PATCH 1/2] Create lock.yml --- .github/lock.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/lock.yml diff --git a/.github/lock.yml b/.github/lock.yml new file mode 100644 index 000000000..837277a70 --- /dev/null +++ b/.github/lock.yml @@ -0,0 +1,19 @@ +name: 'Lock Threads' + +on: + schedule: + - cron: '0 0 1 * *' + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + +concurrency: + group: lock + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v4 From 5470cccc02300e698adbfe80bb3c1f78dbbf1e7e Mon Sep 17 00:00:00 2001 From: Vincent van Hees Date: Wed, 1 Nov 2023 16:06:16 +0100 Subject: [PATCH 2/2] shorten to 180 days --- .github/lock.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/lock.yml b/.github/lock.yml index 837277a70..bfd35bb4a 100644 --- a/.github/lock.yml +++ b/.github/lock.yml @@ -17,3 +17,5 @@ jobs: runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v4 + with: + issue-inactive-days: '180' \ No newline at end of file