]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
add lock threads workflow
authorDavid Lord <davidism@gmail.com>
Fri, 13 Nov 2020 19:39:21 +0000 (11:39 -0800)
committerGitHub <noreply@github.com>
Fri, 13 Nov 2020 19:39:21 +0000 (11:39 -0800)
.github/workflows/lock.yaml [new file with mode: 0644]

diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml
new file mode 100644 (file)
index 0000000..c00ebce
--- /dev/null
@@ -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