Skip to content

Commit 45dbef3

Browse files
Trying to fix syntax error error when using colon in json
1 parent c9c0ba9 commit 45dbef3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ runs:
2626
ADD_COMMENT_URL: "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments"
2727
AUTHORIZATION_HEADER: "Authorization: token ${{ inputs.github_token }}"
2828
PREVIEWER_RESPONSE: "${{ steps.call-previewer.outputs.previewer-response }}"
29-
run: curl -H "${AUTHORIZATION_HEADER}" -d '{"body": "${{ env.PREVIEWER_RESPONSE}}"}' ${ADD_COMMENT_URL}
29+
run: |
30+
curl -H "${AUTHORIZATION_HEADER}" -d '{"body": "${{ env.PREVIEWER_RESPONSE }}"}' ${ADD_COMMENT_URL}

0 commit comments

Comments
 (0)