From 950fc47234ed7702a20c90246823a5215c75e84f Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 20 Mar 2023 19:35:58 +0000 Subject: [PATCH] ci: Lock ancient issues (#9257) ci: use dessant/lock-threads@v4 --- .github/workflows/lock.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lock.yml diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 000000000..28219577d --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,23 @@ +name: Lock Ancient Issues + +on: + schedule: + - cron: '0 16 * * *' + workflow_dispatch: + +permissions: + issues: write + +concurrency: + group: lock + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v4 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-inactive-days: 365 + issue-lock-reason: resolved + process-only: issues