From 015ff259bbfd21e06d9c80bbf8f42bc909d10bf5 Mon Sep 17 00:00:00 2001 From: Martii Date: Wed, 28 Apr 2021 19:33:12 -0600 Subject: [PATCH] Automate closure locking w GH Actions * May still do this manually per policy before triggered or failed. * If an issue needs to be reopened for some reason reset lock if necessary Applies to #1791 Ref: * https://github.com/dessant/lock-threads --- .github/workflows/lock.yml | 14 ++++++++++++++ 1 file changed, 14 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..bf12f1a33 --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,14 @@ +name: 'Lock Threads' + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v2 + with: + github-token: ${{ github.token }} + issue-lock-inactive-days: '1'