Sfoglia il codice sorgente

Add issue parser workflow

Emruz Hossain 3 anni fa
parent
commit
8dbe04b95d
1 ha cambiato i file con 19 aggiunte e 0 eliminazioni
  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 }}"