Merge Pull Request
Merges a pull request into the base branch in GitHub.
PUT
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.
numberrequired
Pull request number.
string
The merge method to use.
Uncommon arguments
string
Title for the automatic commit message.
string
Extra detail to append to the automatic commit message.
string
SHA that the pull request head must match to allow the merge.