mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Use lock workflow
This commit is contained in:
parent
d7fb77861f
commit
9b7b9d80be
3
.github/lock.yml
vendored
3
.github/lock.yml
vendored
|
@ -1,3 +0,0 @@
|
||||||
daysUntilLock: 30
|
|
||||||
lockComment: false
|
|
||||||
setLockReason: false
|
|
17
.github/workflows/lock.yml
vendored
Normal file
17
.github/workflows/lock.yml
vendored
Normal 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: ''
|
Loading…
Reference in a new issue