summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-11-24 20:01:22 -0800
committerGitHub <noreply@github.com>2020-11-24 20:01:22 -0800
commitcbf7a2d7ac71121eae1f95284bf2aec05f37b85a (patch)
tree0af31ee7e35029dd4e88d15fa124fdbec2f28d7a
parent20855d219c74c7c94f3c6732f8b7ba694519ed97 (diff)
downloadmarkupsafe-cbf7a2d7ac71121eae1f95284bf2aec05f37b85a.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..c00ebce
--- /dev/null
+++ b/.github/workflows/lock.yaml
@@ -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