Skip to content

Commit

Permalink
curl you find me a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Nov 1, 2019
1 parent 8c9dce9 commit ee9cab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/asset-size-tracking/src/post-comment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ post_comment() {
text=$(echo -e $COMMENT_TEXT)
description=$(jq -n --arg b "$text" '{ "body": $b }')
echo -e $description
curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" -d $description -H "Content-Type: application/json" -X POST "${URI}/repos/${GITHUB_REPOSITORY}/issues/${NUMBER}/comments"
curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" -d "$description" -H "Content-Type: application/json" -X POST "${URI}/repos/${GITHUB_REPOSITORY}/issues/${NUMBER}/comments"
}

main() {
Expand Down

0 comments on commit ee9cab8

Please sign in to comment.