Return null or empty string when no response was given on a field #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e test | |
on: issues | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Issue Forms Body Parser | |
id: parse | |
uses: ./ | |
- run: echo ${{ toJSON(steps.parse.outputs.data) }} | |
- name: Read an issue content | |
id: read_issue | |
run: | | |
echo "body<<EOF" >> $GITHUB_OUTPUT | |
cat ./test/test-issue-3.md >> $GITHUB_OUTPUT | |
echo "EOF" >> $GITHUB_OUTPUT | |
- name: Issue Forms Body Parser With Provided Body | |
id: parse_with_body | |
uses: ./ | |
with: | |
body: ${{ steps.read_issue.outputs.body }} | |
- run: echo ${{ toJSON(steps.parse_with_body.outputs.data) }} |