Skip to content

Commit

Permalink
[fix] Issue Parser data bug in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Jul 5, 2024
1 parent 4125830 commit 703a3d5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/submit-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,18 @@ 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:
Expand Down

0 comments on commit 703a3d5

Please sign in to comment.