merge_pull_request
Merge an approved pull request with automatic version handling for optimistic locking. Supports various merge strategies like no-ff, squash, rebase.
Instructions
Merge an approved pull request. Fetches the current version automatically for optimistic locking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID. | |
| message | No | Custom merge commit message. | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| strategy | No | Merge strategy ID. no-ff = merge commit, ff = fast-forward, ff-only = fast-forward only, squash = squash, rebase-no-ff = rebase + merge commit, rebase-ff-only = rebase + fast-forward. | |
| repository | Yes | Repository slug. |