merge_pull_request
Merge open pull requests in Bitbucket Cloud using merge commit, squash, or fast-forward strategies to integrate code changes into the main branch.
Instructions
Merge an open pull request. Supports merge commit, squash, and fast-forward strategies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | The workspace slug | |
| repo_slug | Yes | The repository slug | |
| pr_id | Yes | The pull request ID | |
| message | No | Merge commit message | |
| close_source_branch | No | Close source branch after merge | |
| merge_strategy | No | Merge strategy |