From 9692cd8f62986220be5f8773f902b40fe133e8c6 Mon Sep 17 00:00:00 2001 From: South Drifted Date: Sat, 6 Jul 2024 00:11:43 +0800 Subject: [PATCH] [fix] Issue Parser data bug in GitHub actions (#12) * [add] GitPod.io entry & configuration [fix] 2 detail bugs in GitHub actions * [fix] 2 detail bugs * [fix] auto PR reviewer * [fix] Issue Parser data bug in GitHub actions --- .github/workflows/submit-data.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/submit-data.yml b/.github/workflows/submit-data.yml index 8c99034..a36eb8e 100644 --- a/.github/workflows/submit-data.yml +++ b/.github/workflows/submit-data.yml @@ -11,22 +11,20 @@ jobs: - uses: actions/checkout@v4 - id: issue-parser - uses: edumserrano/github-issue-forms-parser@v1 + uses: stefanbuck/github-issue-parser@v3 with: - template-filepath: ".github/ISSUE_TEMPLATE/submit-data.yml" - issue-form-body: "${{ github.event.issue.body }}" + template-path: ".github/ISSUE_TEMPLATE/submit-data.yml" - name: Add data to YAML run: | - cat << EOF >> ${{ steps.issue-parser.outputs.parsed-issue.category }}.yml + cat << EOF >> ${{ steps.issue-parser.outputs.issueparser_category }}.yml - name: "${{ github.event.issue.title }}" - author: "${{ steps.issue-parser.outputs.parsed-issue.author }}" + author: "${{ steps.issue-parser.outputs.issueparser_author }}" description: | - ${{ steps.issue-parser.outputs.parsed-issue.description }} - link: "${{ steps.issue-parser.outputs.parsed-issue.link }}" + ${{ steps.issue-parser.outputs.issueparser_description }} + link: "${{ steps.issue-parser.outputs.issueparser_link }}" EOF - uses: peter-evans/create-pull-request@v6 with: title: "[add] data of ${{ github.event.issue.title }}" body: "closes #${{ github.event.issue.number }}" - reviewers: "${{github.repository_owner}}"