CreateReviewInput
Defined in: pulls/pulls.ts:142
The body of a review creation request.
Properties
Section titled “Properties”body:
string
Defined in: pulls/pulls.ts:146
The review’s own top-level summary, shown above its inline comments.
comments?
Section titled “comments?”
optionalcomments?:CreateReviewComment[]
Defined in: pulls/pulls.ts:155
Inline comments to post with the review.
commit_id
Section titled “commit_id”commit_id:
string
Defined in: pulls/pulls.ts:144
The PR’s head SHA the review attaches to.
event:
"COMMENT"|"REQUEST_CHANGES"|"APPROVE"
Defined in: pulls/pulls.ts:153
"COMMENT" never blocks a merge by itself — the right choice for an
advisory bot review. "REQUEST_CHANGES"/"APPROVE" carry the same
real weight as a human reviewer’s own review state, affecting
required-approval counts and dismissal.