commit 9b7b9d80be7f5372c810b8df5a6e4a52835499fd parent d7fb77861f8356963a7c391471c2582700a97747 Author: Arun Prakash Jana <engineerarun@gmail.com> Date: Sun, 24 May 2020 12:59:14 +0530 Use lock workflow Diffstat:
| D | .github/lock.yml | | | 3 | --- |
| A | .github/workflows/lock.yml | | | 17 | +++++++++++++++++ |
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/.github/lock.yml b/.github/lock.yml @@ -1,3 +0,0 @@ -daysUntilLock: 30 -lockComment: false -setLockReason: false diff --git a/.github/workflows/lock.yml 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: ''