From: Arun Prakash Jana Date: Sun, 24 May 2020 07:29:14 +0000 (+0530) Subject: Use lock workflow X-Git-Tag: v3.2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9b7b9d80be7f5372c810b8df5a6e4a52835499fd;p=nnn.git Use lock workflow --- diff --git a/.github/lock.yml b/.github/lock.yml deleted file mode 100644 index f27329d7..00000000 --- a/.github/lock.yml +++ /dev/null @@ -1,3 +0,0 @@ -daysUntilLock: 30 -lockComment: false -setLockReason: false diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 00000000..b220cfba --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,17 @@ +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: '30' + issue-lock-reason: '' + pr-lock-inactive-days: '30' + pr-lock-reason: ''