aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-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 00000000..c00ebce3
--- /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