From 3accb9a08b2ce045b6a9b2144805aaf0f104a5f9 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 10 Apr 2021 09:35:53 -0400 Subject: [PATCH] [SKIP CI] Add lock workflow --- .github/workflows/lock.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..5582ce42e --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,19 @@ +name: Lock Threads + +on: + # Daily + schedule: + - cron: '0 * * * *' + # Manual trigger + workflow_dispatch: + inputs: + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v2 + with: + github-token: ${{ github.token }} + issue-lock-inactive-days: '2' + pr-lock-inactive-days: '2'