Skip to content

Commit

Permalink
Adding webhook url between quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
datapythonista committed Jan 27, 2024
1 parent a51a58e commit 98c436f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
ADD_COMMENT_URL: "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments"
GITHUB_TOKEN: "${{ inputs.token }}"
run: |
PREVIEWER_RESPONSE=$(curl -X POST ${PREVIEWER_URL})
PREVIEWER_RESPONSE=$(curl -X POST "${PREVIEWER_URL}")
if [[ $? ]]; then
curl -H "Authorization: token ${GITHUB_TOKEN}" \
-d '{"body": "${PREVIEWER_RESPONSE}"}' \
Expand Down

0 comments on commit 98c436f

Please sign in to comment.