Use lock workflow

This commit is contained in:
Arun Prakash Jana 2020-05-24 12:59:14 +05:30
parent d7fb77861f
commit 9b7b9d80be
No known key found for this signature in database
GPG Key ID: A75979F35C080412
2 changed files with 17 additions and 3 deletions

3
.github/lock.yml vendored
View File

@ -1,3 +0,0 @@
daysUntilLock: 30
lockComment: false
setLockReason: false

17
.github/workflows/lock.yml vendored Normal file
View File

@ -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: ''