Home > Mobile >  How to remove PR review comment?
How to remove PR review comment?

Time:08-21

I submited feedback suggesting changes for pull request and can't remove it.

There were two same blocks with my comment on PR timeline. I removed a second one, but can't do so for the first block, there is no such option, only edit.

enter image description here

CodePudding user response:

The Pull Request Reviews API only includes:

Delete a review comment for a pull request

(using GitHub CLI gh api)

gh api \
 --method DELETE \
 -H "Accept: application/vnd.github json" \
 /repos/OWNER/REPO/pulls/comments/COMMENT_ID

Try and list all review comments to check the right ID for your review comment, and try to delete it that way.

  • Related