File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
actions/validate-template Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3838 # Parse JSON and extract status and detail separately
3939 status=$(echo "$result" | jq -r '.status')
4040 detail=$(echo "$result" | jq -r '.detail')
41+ # Output status
4142 echo "status=${status}" >> "$GITHUB_OUTPUT"
42- echo "detail=${detail}" >> "$GITHUB_OUTPUT"
43+ # Use multiline format for detail since it contains newlines
44+ echo "detail<<EOF" >> "$GITHUB_OUTPUT"
45+ echo "$detail" >> "$GITHUB_OUTPUT"
46+ echo "EOF" >> "$GITHUB_OUTPUT"
Original file line number Diff line number Diff line change 1717 id : validate-template
1818 uses : ./.github/actions/validate-template
1919 with :
20- path : $GITHUB_WORKSPACE
20+ path : ${{ github.workspace }}
2121
2222 - name : Create comment
2323 if : ${{ steps.validate-template.outputs.status != 0 && !github.event.pull_request.head.repo.fork }}
You can’t perform that action at this time.
0 commit comments