Skip to content

Commit c9c0ba9

Browse files
Fix actions.yml syntax
1 parent cc503bf commit c9c0ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ 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\": \"${PREVIEWER_RESPONSE}\"}" ${ADD_COMMENT_URL}
29+
run: curl -H "${AUTHORIZATION_HEADER}" -d '{"body": "${{ env.PREVIEWER_RESPONSE}}"}' ${ADD_COMMENT_URL}

0 commit comments

Comments
 (0)