GitHub & Code
reviewPullRequest
Review Pull Request
Submit a review on a connected GitHub repo's pull request: APPROVE, REQUEST_CHANGES, or COMMENT: acting as the user's connected GitHub account.
Arguments
accountstringoptionalConnected GitHub login to act as. Defaults to the Primary account.bodystringoptionalReview comment (markdown). Required for REQUEST_CHANGES and COMMENT; optional for APPROVE.confirmbooleanoptionalMust be true to APPROVE: approving is an external state change and needs explicit per-action user consent. Ignored for REQUEST_CHANGES / COMMENT.eventstringrequiredThe review action to submitownerstringrequiredRepository ownerpullNumbernumberrequiredPull request numberrepostringrequiredRepository name
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- approve PR #N
- request changes on that PR
Pair it with
The verbs that finish the job.