From 8dbe04b95d54358addcdbecbc4f232151c45794c Mon Sep 17 00:00:00 2001 From: Emruz Hossain Date: Wed, 3 Nov 2021 00:09:45 +0600 Subject: [PATCH] Add issue parser workflow --- .github/workflows/issue_parser.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/issue_parser.yaml diff --git a/.github/workflows/issue_parser.yaml b/.github/workflows/issue_parser.yaml new file mode 100644 index 0000000..4ffe81f --- /dev/null +++ b/.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 }}"