Skip to content

Commit 7a317ed

Browse files
committed
PR commenting is not working
1 parent 4b30dbc commit 7a317ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-spelling-unknown-words

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ comment() {
225225
if [ -n "$GITHUB_EVENT_PATH" ]; then
226226
case "$GITHUB_EVENT_NAME" in
227227
pull_request)
228-
COMMENTS_URL=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.comments_url);;
228+
COMMENTS_URL=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.review_comments_url);;
229229
push)
230230
COMMENTS_URL=$(cat $GITHUB_EVENT_PATH | jq -r .repository.commits_url | perl -pne 's#\{/sha}#/'$GITHUB_SHA'/comments#');;
231231
esac

0 commit comments

Comments
 (0)