a26079a4b1
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
Tools that return user generated content should have open world hints, to allow clients to inform users that the content may be untrusted and prompt them to approve the request before executing it.
64 lines
1.4 KiB
Plaintext
64 lines
1.4 KiB
Plaintext
{
|
|
"annotations": {
|
|
"title": "Edit pull request"
|
|
},
|
|
"description": "Update an existing pull request in a GitHub repository.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"base": {
|
|
"type": "string",
|
|
"description": "New base branch name"
|
|
},
|
|
"body": {
|
|
"type": "string",
|
|
"description": "New description"
|
|
},
|
|
"draft": {
|
|
"type": "boolean",
|
|
"description": "Mark pull request as draft (true) or ready for review (false)"
|
|
},
|
|
"maintainer_can_modify": {
|
|
"type": "boolean",
|
|
"description": "Allow maintainer edits"
|
|
},
|
|
"owner": {
|
|
"type": "string",
|
|
"description": "Repository owner"
|
|
},
|
|
"pullNumber": {
|
|
"type": "number",
|
|
"description": "Pull request number to update"
|
|
},
|
|
"repo": {
|
|
"type": "string",
|
|
"description": "Repository name"
|
|
},
|
|
"reviewers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "GitHub usernames to request reviews from"
|
|
},
|
|
"state": {
|
|
"type": "string",
|
|
"description": "New state",
|
|
"enum": [
|
|
"open",
|
|
"closed"
|
|
]
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "New title"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"pullNumber"
|
|
]
|
|
},
|
|
"name": "update_pull_request"
|
|
} |