create-pull-request
Generate and manage pull requests directly via the GitHub Enterprise API. Specify base and head branches, add titles, descriptions, and draft statuses to streamline code collaboration and review workflows.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
base | Yes | Base branch (e.g., 'main') | |
body | No | Pull request description | |
draft | No | Create as draft PR | |
head | Yes | Head branch (e.g., 'username:feature' or just 'feature' for same repo) | |
owner | Yes | Repository owner (user or organization) | |
repo | Yes | Repository name | |
title | Yes | Pull request title |