- Notifications
You must be signed in to change notification settings - Fork2.7k
Consolidate pull request review tools#1192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"annotations": { | ||
"title": "Write operations (create, submit, delete) on pull request reviews.", | ||
"readOnlyHint": false | ||
}, | ||
"description": "Create and/or submit, delete review of a pull request.\n\nAvailable methods:\n- create: Create a new review of a pull request. If \"event\" parameter is provided, the review is submitted. If \"event\" is omitted, a pending review is created.\n- submit_pending: Submit an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request. The \"body\" and \"event\" parameters are used when submitting the review.\n- delete_pending: Delete an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request.\n", | ||
"inputSchema": { | ||
"properties": { | ||
"body": { | ||
"description": "Review comment text", | ||
"type": "string" | ||
}, | ||
"commitID": { | ||
"description": "SHA of commit to review", | ||
"type": "string" | ||
}, | ||
"event": { | ||
"description": "Review action to perform. If not specified, pending review is created.", | ||
"enum": [ | ||
"APPROVE", | ||
"REQUEST_CHANGES", | ||
"COMMENT" | ||
], | ||
"type": "string" | ||
}, | ||
"method": { | ||
"description": "The write operation to perform on pull request review.", | ||
"enum": [ | ||
"create", | ||
"submit_pending", | ||
"delete_pending" | ||
], | ||
"type": "string" | ||
}, | ||
"owner": { | ||
"description": "Repository owner", | ||
"type": "string" | ||
}, | ||
"pullNumber": { | ||
"description": "Pull request number", | ||
"type": "number" | ||
}, | ||
"repo": { | ||
"description": "Repository name", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"method", | ||
"owner", | ||
"repo", | ||
"pullNumber" | ||
], | ||
"type": "object" | ||
}, | ||
"name": "pull_request_review_write" | ||
} |
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.