File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if [[ "$NEW_PR" = true ]]; then
2424 COMMENT_DATA=" 🤖 Bots are busy building the preview. It will be available soon at: \n ${PREVIEW_URL} "
2525 echo -e " ${YELLOW} ADDING COMMENT on PR${NC} "
2626 echo -e " ${BLUE} COMMENT DATA:${NC} $COMMENT_DATA "
27- curl -H " Authorization: token ${GH_TOKEN} " -X POST -d " {\" body\" : \" ${COMMENT_DATA} \" }" " https://api.github.com/repos/openshift/openshit -docs/issues/${PR_NUMBER} /comments" > /dev/null 2>&1
27+ curl -H " Accept: application/vnd.github+json " -H " Authorization: token ${GH_TOKEN} " -X POST -d " {\" body\" : \" ${COMMENT_DATA} \" }" " https://api.github.com/repos/openshift/openshift -docs/issues/${PR_NUMBER} /comments" > /dev/null 2>&1
2828fi
2929
3030echo -e " ${GREEN} DONE!${NC} "
You can’t perform that action at this time.
0 commit comments