From 7f51044739f394efb36ce0be6b654fb9d7129096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Tue, 12 Mar 2024 15:53:36 +0100 Subject: [PATCH] chore: Install lock workflow to lock stale discussions after one year --- .github/workflows/lock.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/lock.yaml diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml new file mode 100644 index 0000000000..5b19556961 --- /dev/null +++ b/.github/workflows/lock.yaml @@ -0,0 +1,19 @@ +name: "Lock threads" + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v4 + with: + github-token: ${{ github.token }} + issue-lock-inactive-days: "365" + issue-lock-reason: "" + issue-lock-comment: > + This old thread has been automatically locked. If you think you have + found something related to this, please open a new issue and link to this + old issue if necessary.