diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-24 12:59:14 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-24 12:59:14 +0530 |
commit | 9b7b9d80be7f5372c810b8df5a6e4a52835499fd (patch) | |
tree | b4d23b05a478dc2b802666cd75170d08d77e7988 /.github | |
parent | d7fb77861f8356963a7c391471c2582700a97747 (diff) | |
download | nnn-9b7b9d80be7f5372c810b8df5a6e4a52835499fd.tar.gz |
Use lock workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/lock.yml | 3 | ||||
-rw-r--r-- | .github/workflows/lock.yml | 17 |
2 files changed, 17 insertions, 3 deletions
diff --git a/.github/lock.yml b/.github/lock.yml deleted file mode 100644 index f27329d..0000000 --- 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 0000000..b220cfb --- /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: '' |