Contents

GitHub Create Review

GitHubCreatePullRequestReviewTool · Tools · Connections

Review a pull request: a summary, a verdict, and inline comments in one step. event APPROVE, REQUEST_CHANGES, or COMMENT submits it at once (REQUEST_CHANGES and COMMENT need a body); without an event the review stays PENDING, visible only to its author, until github_submit_pull_request_review or github_delete_pending_pull_request_review. Each inline comment names a file path and the line it ends on, on side RIGHT (the head, default) or LEFT (the base); start_line makes it a range. GitHub refuses a verdict other than COMMENT on your own pull request.

Parameters

NameTypeRequiredDescription
bodystringNoReview summary.
commentsany[]NoInline comments to attach.
commit_idstringNoCommit SHA reviewed; the head commit when absent.
eventanyNoAPPROVE, REQUEST_CHANGES, or COMMENT submits the review now; absent leaves it PENDING.
ownerstringNoRepository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories.
pull_numberintegerYesPull request number.
repostringYesRepository name, without the owner.