add lock threads workflow
This commit is contained in:
parent
bbb273bb76
commit
f325b8b5be
1 changed files with 15 additions and 0 deletions
15
.github/workflows/lock.yaml
vendored
Normal file
15
.github/workflows/lock.yaml
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
name: 'Lock threads'
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0/10 * * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lock:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: dessant/lock-threads@v2
|
||||||
|
with:
|
||||||
|
github-token: ${{ github.token }}
|
||||||
|
issue-lock-inactive-days: 14
|
||||||
|
pr-lock-inactive-days: 14
|
||||||
Loading…
Add table
Add a link
Reference in a new issue