merge_change_request
Merge a code change request into the target branch using a specified merge type, with optional message and source branch deletion. Resolves the need to integrate code changes while controlling merge strategy.
Instructions
[Code Management] Merge a change request (merge request) using a specific merge type (ff-only / no-fast-forward / squash / rebase), with an optional merge message and optional source-branch deletion. This rewrites the target branch and is not reversible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localId | Yes | 局部ID,表示代码库中第几个合并请求。示例:'1' 或 '42' | |
| mergeType | Yes | 合并类型。ff-only - fast-forward-only 合并;no-fast-forward - 普通合并;squash - 压缩合并;rebase - rebase 合并 | |
| mergeMessage | No | 合并提交信息。示例:'merge message' | |
| repositoryId | Yes | 代码库ID或全路径(斜杠须编码为%2F),如 2835387 或 myorg%2FmyRepo | |
| organizationId | Yes | 组织ID | |
| removeSourceBranch | No | 是否在合并后删除源分支。不传则由云效按默认行为处理 |