瀏覽代碼

Add issue parser workflow

Emruz Hossain 3 年之前
父節點
當前提交
8dbe04b95d
共有 1 個文件被更改,包括 19 次插入0 次删除
  1. 19 0
      .github/workflows/issue_parser.yaml

+ 19 - 0
.github/workflows/issue_parser.yaml

@@ -0,0 +1,19 @@
+on:
+  issue_comment:
+    types: [created, edited]
+
+jobs:
+  parse-comment:
+    runs-on: ubuntu-latest
+    name: Parse Comment
+    steps:
+      - name: Issue Refs Parser Action
+        uses: FujiHaruka/issue-refs-parser-action@v1.1
+        id: action
+        with:
+          body: ${{ github.event.comment.body }}
+          self_slug: hugo-toha/toha
+      - name: Get The Outputs
+        run: |
+          echo "refs: ${{ steps.action.outputs.refs }}"
+          echo "external_refs: ${{ steps.action.outputs.external_refs }}"