OSDN Git Service

Create label-commenter.yml
authorNeko7sora <oeyvdfqbt@relay.firefox.com>
Fri, 11 Jun 2021 14:55:38 +0000 (23:55 +0900)
committerGitHub <noreply@github.com>
Fri, 11 Jun 2021 14:55:38 +0000 (23:55 +0900)
.github/workflows/label-commenter.yml [new file with mode: 0644]

diff --git a/.github/workflows/label-commenter.yml b/.github/workflows/label-commenter.yml
new file mode 100644 (file)
index 0000000..b7a7afd
--- /dev/null
@@ -0,0 +1,40 @@
+name: Label Commenter
+
+on:
+  issues:
+    types:
+      - labeled
+      - unlabeled
+  pull_request_target:
+    types:
+      - labeled
+      - unlabeled
+
+permissions:
+  contents: read
+  issues: write
+  pull-requests: write
+
+jobs:
+  comment:
+    runs-on: ubuntu-18.04
+    steps:
+      - uses: actions/checkout@v2
+        with:
+          ref: main # Set your default branch
+
+      - name: Label Commenter
+        uses: peaceiris/actions-label-commenter@v1
+        
+labels:
+  - name: auto_OSDN-tickets
+    labeled:
+      issue:
+        body: |
+        OSDNのチケットが作成され、GitHub WorkersでRSSの情報を元に自動的に Issues されました。
+        
+        **通知**をするだけなので、GitHub上にコメントしてもOSDN上に自動的にコメントされません。
+        
+        OSDN上にコメントしてもGitHub上に**通知されません**。
+        
+        つまり、OSDN上でコメントを返信したり確認する必要があります。