[SKIP CI] Add lock workflow

(cherry picked from commit 3accb9a08b)
This commit is contained in:
arkon
2021-04-10 09:35:53 -04:00
committed by Jobobby04
parent 84fdd097e0
commit 9684e34241
+19
View File
@@ -0,0 +1,19 @@
name: Lock Threads
on:
# Daily
schedule:
- cron: '0 * * * *'
# Manual trigger
workflow_dispatch:
inputs:
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '2'
pr-lock-inactive-days: '2'