Github Project Manager

create_pull_request_review

Create a review for a pull request

Input Schema

NameRequiredDescriptionDefault
bodyNoThe body text of the review
commentsNoComments to post as part of the review
eventNoThe review action to perform
ownerYesRepository owner (username or organization)
pull_numberYesPull request number
repoYesRepository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "body": { "description": "The body text of the review", "type": "string" }, "comments": { "description": "Comments to post as part of the review", "items": { "additionalProperties": false, "properties": { "body": { "description": "The text of the comment", "type": "string" }, "path": { "description": "The relative path to the file being commented on", "type": "string" }, "position": { "description": "The position in the diff where the comment should be placed", "type": "number" } }, "required": [ "path", "position", "body" ], "type": "object" }, "type": "array" }, "event": { "description": "The review action to perform", "enum": [ "APPROVE", "REQUEST_CHANGES", "COMMENT" ], "type": "string" }, "owner": { "description": "Repository owner (username or organization)", "type": "string" }, "pull_number": { "description": "Pull request number", "type": "number" }, "repo": { "description": "Repository name", "type": "string" } }, "required": [ "owner", "repo", "pull_number" ], "type": "object" }