add lock threads workflow

This commit is contained in:
David Lord 2020-11-13 16:28:13 -08:00 committed by GitHub
parent 21717fb6bb
commit 28c4cc5ff8

15
.github/workflows/lock.yaml vendored Normal file
View 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