-
Notifications
You must be signed in to change notification settings - Fork 4k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3b4eaf2
Consolidate pull request review tools
almaleksia 4035140
Prompt tweaks + deleting snap
almaleksia f978539
Server instructions change
almaleksia c08d50d
Add enums
almaleksia 82ac788
Remove excessive mentions of event parameter
almaleksia 3cd8be6
Merge branch 'main' of https://github.com/github/github-mcp-server in…
almaleksia 80d0e07
Doc update
almaleksia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
pkg/github/__toolsnaps__/create_and_submit_pull_request_review.snap
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
pkg/github/__toolsnaps__/create_pending_pull_request_review.snap
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
pkg/github/__toolsnaps__/delete_pending_pull_request_review.snap
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| } |
44 changes: 0 additions & 44 deletions
44
pkg/github/__toolsnaps__/submit_pending_pull_request_review.snap
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.