merge_merge_request
Merge a GitLab merge request with options for auto-merging after pipeline success, custom commit messages, branch cleanup, and commit squashing.
Instructions
Merge a merge request in a GitLab project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID or complete URL-encoded path to project | |
| merge_request_iid | No | The IID of a merge request | |
| auto_merge | No | If true, the merge request merges when the pipeline succeeds. | |
| merge_commit_message | No | Custom merge commit message | |
| merge_when_pipeline_succeeds | No | If true, the merge request merges when the pipeline succeeds.in GitLab 17.11. Use | |
| should_remove_source_branch | No | Remove source branch after merge | |
| squash_commit_message | No | Custom squash commit message | |
| squash | No | Squash commits into a single commit when merging |