]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
add issue.yml
authorneil <github@neilpang.com>
Sat, 30 Jul 2022 13:45:58 +0000 (21:45 +0800)
committerneil <github@neilpang.com>
Sat, 30 Jul 2022 13:45:58 +0000 (21:45 +0800)
.github/workflows/issue.yml [new file with mode: 0644]

diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml
new file mode 100644 (file)
index 0000000..7e44e5a
--- /dev/null
@@ -0,0 +1,18 @@
+name: "Update issues"
+on:
+  issues:
+    types: [opened]
+
+jobs:
+  comment:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/github-script@v6
+        with:
+          script: |
+            github.rest.issues.createComment({
+              issue_number: context.issue.number,
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              body: 'Please provode the log with `--debug 2` if this is a bug report.'
+            })
\ No newline at end of file