Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
mirooon committed Feb 17, 2025
1 parent 3f4d540 commit a3c7bdc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/securityAlertsReview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,12 @@ jobs:
if [[ -n "$EXISTING_COMMENT_ID" ]]; then
HTTP_RESPONSE=$(curl -s -o response.json -w "%{http_code}" -X PATCH \
-H "Authorization: token ${GITHUB_TOKEN}" -H "Content-Type: application/json" \
-d "{\"body\": $COMMENT_BODY_JSON}"
-d "{\"body\": $COMMENT_BODY_JSON}" \
"https://api.github.com/repos/${{ github.repository }}/issues/comments/${EXISTING_COMMENT_ID}")
else
HTTP_RESPONSE=$(curl -s -o response.json -w "%{http_code}" -X POST \
-H "Authorization: token ${GITHUB_TOKEN}" -H "Content-Type: application/json" \
-d "{\"body\": $COMMENT_BODY_JSON}"
-d "{\"body\": $COMMENT_BODY_JSON}" \
"https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}/comments")
fi
Expand Down

0 comments on commit a3c7bdc

Please sign in to comment.