]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
feat(workflows): auto close issues with `can't reproduce` label (#11631)
authoredison <daiwei521@126.com>
Fri, 16 Aug 2024 08:01:40 +0000 (16:01 +0800)
committerGitHub <noreply@github.com>
Fri, 16 Aug 2024 08:01:40 +0000 (16:01 +0800)
* feat(workflows): auto close issues with 'can't reproduce' label

* chore: update

.github/workflows/close-cant-reproduce-issues.yml [new file with mode: 0644]

diff --git a/.github/workflows/close-cant-reproduce-issues.yml b/.github/workflows/close-cant-reproduce-issues.yml
new file mode 100644 (file)
index 0000000..8fb48f8
--- /dev/null
@@ -0,0 +1,21 @@
+name: Auto close issues with "can't reproduce" label
+
+on:
+  schedule:
+    - cron: '0 0 * * *'
+
+permissions:
+  issues: write
+
+jobs:
+  close-issues:
+    if: github.repository == 'vuejs/core'
+    runs-on: ubuntu-latest
+    steps:
+      - name: can't reproduce
+        uses: actions-cool/issues-helper@v3
+        with:
+          actions: 'close-issues'
+          token: ${{ secrets.GITHUB_TOKEN }}
+          labels: "can't reproduce"
+          inactive-day: 3