merge_pull_request
Merge an open pull request only when its current head exactly matches the expected SHA, using a required merge method (merge, squash, or rebase) with optional commit text passed via stdin.
Instructions
Merge an open pull request only when its current head exactly matches expectedHeadSha. A merge method is required; optional commit text is sent through stdin and is not audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| hostname | No | ||
| repository | Yes | Repository in owner/name format | |
| commitTitle | No | ||
| mergeMethod | Yes | ||
| commitMessage | No | ||
| expectedHeadSha | Yes | ||
| pullRequestNumber | Yes |