Parcourir la source

workflow: add lock-closed-issues (#8970)

Alex il y a 2 ans
Parent
commit
5c137c9c8f
1 fichiers modifiés avec 20 ajouts et 0 suppressions
  1. 20 0
      .github/workflows/lock-closed-issues.yml

+ 20 - 0
.github/workflows/lock-closed-issues.yml

@@ -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'