From 0c6a8dd0a987c3bac94ff35c7ab7b0c9d6adf9f0 Mon Sep 17 00:00:00 2001 From: wiz0u <11647984+wiz0u@users.noreply.github.com> Date: Sat, 8 Apr 2023 18:46:18 +0200 Subject: [PATCH] Create autolock.yml --- .github/workflows/autolock.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/autolock.yml diff --git a/.github/workflows/autolock.yml b/.github/workflows/autolock.yml new file mode 100644 index 0000000..635bcda --- /dev/null +++ b/.github/workflows/autolock.yml @@ -0,0 +1,22 @@ +name: 'Auto-Lock Issues' + +on: + schedule: + - cron: '0 12 * * *' + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + +concurrency: + group: lock + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v4 + with: + issue-inactive-days: '60' + pr-inactive-days: '60'