summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-02-08 18:10:39 -0800
committerGitHub <noreply@github.com>2021-02-08 18:10:39 -0800
commit2048fdd38754940a77f26982009876a0ff1c6f62 (patch)
tree13ba7b6da2949c2106bef62112c6b58cfd6668b2
parent3d0b87ec0e5d5cba524d1aa3386fb00a22f50714 (diff)
downloaditsdangerous-2048fdd38754940a77f26982009876a0ff1c6f62.tar.gz
add lock threads workflow
-rw-r--r--.github/workflows/lock.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml
new file mode 100644
index 0000000..3cc0d72
--- /dev/null
+++ b/.github/workflows/lock.yaml
@@ -0,0 +1,15 @@
+name: 'Lock threads'
+
+on:
+ schedule:
+ - cron: '*/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