merge_merge_request
Merge a merge request with optional dry-run mode to preview the action before executing. Customize commit message, squash commits, and delete source branch.
Instructions
Merge a merge request. dry_run=true by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID | |
| mr_iid | Yes | MR IID to merge | |
| merge_commit_message | No | Custom merge commit message | |
| squash | No | Squash commits into one | |
| should_remove_source_branch | No | Delete source branch after merge | |
| dry_run | No | Dry run mode (default: true). When true, returns a preview of the action without executing it. Set to false only after user confirmation. |