Skip to content

Commit

Permalink
Trying to fix syntax error error when using colon in json
Browse files Browse the repository at this point in the history
  • Loading branch information
datapythonista committed Jan 27, 2024
1 parent c9c0ba9 commit 45dbef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ runs:
ADD_COMMENT_URL: "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments"
AUTHORIZATION_HEADER: "Authorization: token ${{ inputs.github_token }}"
PREVIEWER_RESPONSE: "${{ steps.call-previewer.outputs.previewer-response }}"
run: curl -H "${AUTHORIZATION_HEADER}" -d '{"body": "${{ env.PREVIEWER_RESPONSE}}"}' ${ADD_COMMENT_URL}
run: |
curl -H "${AUTHORIZATION_HEADER}" -d '{"body": "${{ env.PREVIEWER_RESPONSE }}"}' ${ADD_COMMENT_URL}

0 comments on commit 45dbef3

Please sign in to comment.