Github Create Pr
github_create_prCreates a GitHub pull request and applies labels automatically, with options for draft status and custom labels to streamline PR management.
Instructions
Creates a new pull request. Labels are applied in a second call, since the create endpoint takes none, and they come back under labels so a set the token could not write is visible.
Workflow and conventions: github_get_skill('pr-management').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| body | Yes | ||
| head | Yes | ||
| draft | No | ||
| title | Yes | ||
| labels | No | Labels to apply, with the 'mcp' tracking label appended unless mcp_label is False. Omit to leave the pull request unlabelled | |
| mcp_label | No | Append the 'mcp' tracking label to labels. Pass False to opt out | |
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||