Skip to content

Commit b72955c

Browse files
fix spell
1 parent c309a5a commit b72955c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ghcomment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
2828
fi
2929

3030
echo -e "${GREEN}DONE!${NC}"

0 commit comments

Comments
 (0)