]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
workflow: add lock-closed-issues (#8970)
authorAlex <49969959+alexzhang1030@users.noreply.github.com>
Tue, 5 Sep 2023 07:23:00 +0000 (15:23 +0800)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2023 07:23:00 +0000 (15:23 +0800)
.github/workflows/lock-closed-issues.yml [new file with mode: 0644]

diff --git a/.github/workflows/lock-closed-issues.yml b/.github/workflows/lock-closed-issues.yml
new file mode 100644 (file)
index 0000000..cf01a5f
--- /dev/null
@@ -0,0 +1,20 @@
+name: Lock Closed Issues
+
+on:
+  schedule:
+    - cron: '0 0 * * *'
+
+permissions:
+  issues: write
+
+jobs:
+  action:
+    if: github.repository == 'vuejs/core'
+    runs-on: ubuntu-latest
+    steps:
+      - uses: dessant/lock-threads@v4
+        with:
+          github-token: ${{ secrets.GITHUB_TOKEN }}
+          issue-inactive-days: '14'
+          issue-lock-reason: ''
+          process-only: 'issues'