- Notifications
You must be signed in to change notification settings - Fork3.1k
Migratepull_requests toolset to Go SDK#1466
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
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
4 commits Select commitHold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
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 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 |
|---|---|---|
| @@ -1,73 +1,72 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Add review comment to the requester's latest pending pull request review" | ||
| }, | ||
| "description": "Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "pullNumber", | ||
| "path", | ||
| "body", | ||
| "subjectType" | ||
| ], | ||
| "properties": { | ||
| "body": { | ||
| "type": "string", | ||
| "description": "The text of the review comment" | ||
| }, | ||
| "line": { | ||
| "type": "number", | ||
| "description": "The line of the blob in the pull request diff that the comment applies to. For multi-line comments, the last line of the range" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "path": { | ||
| "type": "string", | ||
| "description": "The relative path to the file that necessitates a comment" | ||
| }, | ||
| "pullNumber": { | ||
| "type": "number", | ||
| "description": "Pull requestnumber" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "side": { | ||
| "type": "string", | ||
| "description": "The side of the diff to comment on. LEFT indicates the previous state, RIGHT indicates the new state", | ||
| "enum": [ | ||
| "LEFT", | ||
| "RIGHT" | ||
| ] | ||
| }, | ||
| "startLine": { | ||
| "type": "number", | ||
| "description": "For multi-line comments, the first line of the range that the comment applies to" | ||
| }, | ||
| "startSide": { | ||
| "type": "string", | ||
| "description": "For multi-line comments, the starting side of the diff that the comment applies to. LEFT indicates the previous state, RIGHT indicates the new state", | ||
| "enum": [ | ||
| "LEFT", | ||
| "RIGHT" | ||
| ] | ||
| }, | ||
| "subjectType": { | ||
| "type": "string", | ||
| "description": "The level at which the comment is targeted", | ||
| "enum": [ | ||
| "FILE", | ||
| "LINE" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "name": "add_comment_to_pending_review" | ||
| } |
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 |
|---|---|---|
| @@ -1,52 +1,51 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Open new pull request" | ||
| }, | ||
| "description": "Create a new pull request in a GitHub repository.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "title", | ||
| "head", | ||
| "base" | ||
| ], | ||
| "properties": { | ||
| "base": { | ||
| "type": "string", | ||
| "description": "Branch to merge into" | ||
| }, | ||
| "body": { | ||
| "type": "string", | ||
| "description": "PR description" | ||
| }, | ||
| "draft": { | ||
| "type": "boolean", | ||
| "description": "Create as draft PR" | ||
| }, | ||
| "head": { | ||
| "type": "string", | ||
| "description": "Branch containing changes" | ||
| }, | ||
| "maintainer_can_modify": { | ||
| "type": "boolean", | ||
| "description": "Allow maintainer edits" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "title": { | ||
| "type": "string", | ||
| "description": "PR title" | ||
| } | ||
| } | ||
| }, | ||
| "name": "create_pull_request" | ||
| } |
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 |
|---|---|---|
| @@ -1,71 +1,71 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint":true, | ||
| "title":"List pull requests" | ||
| }, | ||
| "description": "List pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo" | ||
| ], | ||
| "properties": { | ||
| "base": { | ||
| "type": "string", | ||
| "description": "Filter by base branch" | ||
| }, | ||
| "direction": { | ||
| "type": "string", | ||
| "description": "Sort direction", | ||
| "enum": [ | ||
| "asc", | ||
| "desc" | ||
| ] | ||
| }, | ||
| "head": { | ||
| "type": "string", | ||
| "description": "Filter by head user/org and branch" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "page": { | ||
| "type": "number", | ||
| "description": "Page number for pagination (min 1)", | ||
| "minimum": 1 | ||
| }, | ||
| "perPage": { | ||
| "type": "number", | ||
| "description": "Results per page for pagination (min 1, max 100)", | ||
| "minimum": 1, | ||
| "maximum":100 | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| }, | ||
| "sort": { | ||
| "type": "string", | ||
| "description": "Sort by", | ||
| "enum": [ | ||
| "created", | ||
| "updated", | ||
| "popularity", | ||
| "long-running" | ||
| ] | ||
| }, | ||
| "state": { | ||
| "type": "string", | ||
| "description": "Filter by state", | ||
| "enum": [ | ||
| "open", | ||
| "closed", | ||
| "all" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "name": "list_pull_requests" | ||
| } |
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 |
|---|---|---|
| @@ -1,47 +1,46 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Merge pull request" | ||
| }, | ||
| "description": "Merge a pull request in a GitHub repository.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "pullNumber" | ||
| ], | ||
| "properties": { | ||
| "commit_message": { | ||
| "type": "string", | ||
| "description": "Extra detail for merge commit" | ||
| }, | ||
| "commit_title": { | ||
| "type": "string", | ||
| "description": "Title for merge commit" | ||
| }, | ||
| "merge_method": { | ||
| "type": "string", | ||
| "description": "Merge method", | ||
| "enum": [ | ||
| "merge", | ||
| "squash", | ||
| "rebase" | ||
| ] | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Repository owner" | ||
| }, | ||
| "pullNumber": { | ||
| "type": "number", | ||
| "description": "Pull requestnumber" | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Repository name" | ||
| } | ||
| } | ||
| }, | ||
| "name": "merge_pull_request" | ||
| } |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.