Create Pull Request
Creates a pull request in a GitHub repository.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
stringrequired
Repository owner or organization login.
stringrequired
Repository name.
string
The title of the new pull request.
stringrequired
The branch where the changes are implemented.
stringrequired
The branch you want the changes pulled into.
string
The contents of the pull request.
boolean
Whether the pull request is a draft.
Uncommon arguments
string
The repository where the changes in the pull request were made when required.
boolean
Whether maintainers can modify the pull request branch.
number
An existing issue number to convert into a pull request.