]> Sergey Matveev's repositories - nnn.git/commitdiff
Use lock workflow
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 May 2020 07:29:14 +0000 (12:59 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 May 2020 07:29:14 +0000 (12:59 +0530)
.github/lock.yml [deleted file]
.github/workflows/lock.yml [new file with mode: 0644]

diff --git a/.github/lock.yml b/.github/lock.yml
deleted file mode 100644 (file)
index f27329d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-daysUntilLock: 30
-lockComment: false
-setLockReason: false
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
new file mode 100644 (file)
index 0000000..b220cfb
--- /dev/null
@@ -0,0 +1,17 @@
+name: 'Lock threads'
+
+on:
+  schedule:
+    - cron: '0 0 * * *'
+
+jobs:
+  lock:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: dessant/lock-threads@v2
+        with:
+          github-token: ${{ github.token }}
+          issue-lock-inactive-days: '30'
+          issue-lock-reason: ''
+          pr-lock-inactive-days: '30'
+          pr-lock-reason: ''