add lock threads workflow

This commit is contained in:
David Lord 2020-11-13 16:28:13 -08:00 committed by GitHub
parent bbb273bb76
commit f325b8b5be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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