CreateReviewComment
Defined in: pulls/pulls.ts:130
One inline comment in a POST /pulls/{pull_number}/reviews request body.
Properties
Section titled “Properties”body:
string
Defined in: pulls/pulls.ts:138
The comment text.
line:
number
Defined in: pulls/pulls.ts:134
1-indexed line in the file’s current (RIGHT) version — GitHub anchors a review comment to a line, not a column.
path:
string
Defined in: pulls/pulls.ts:132
File path relative to the repo root.
side:
"LEFT"|"RIGHT"
Defined in: pulls/pulls.ts:136
Almost always "RIGHT" (the PR’s own new content) — "LEFT" targets the base/pre-PR version instead.