Skip to content

Commit f507305

Browse files
committed
Fix updating PR comment in workflow
1 parent 10193bc commit f507305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
7373
if [ -n "$EXISTING_COMMENT_ID" ]; then
7474
echo "Updating existing comment $EXISTING_COMMENT_ID"
75-
gh api -X PATCH "/repos/${{ github.repository }}/issues/comments/$EXISTING_COMMENT_ID" --input comment-message.txt
75+
gh api -X PATCH "/repos/${{ github.repository }}/pulls/comments/$EXISTING_COMMENT_ID" --input comment-message.txt
7676
else
7777
echo "Creating new comment"
7878
gh pr comment ${{ github.event.pull_request.number }} --body-file comment-message.txt

0 commit comments

Comments
 (0)