Gitee

by normal-coder
Verified

merge_pull_request

合并 Gitee 仓库中的 Pull Request

Input Schema

NameRequiredDescriptionDefault
merge_methodNoMerge methodmerge
ownerYesRepository owner path (enterprise, organization, or personal path)
prune_source_branchNoWhether to delete the source branch after merging
pull_numberYesPull Request number
repoYesRepository path

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "merge_method": { "default": "merge", "description": "Merge method", "enum": [ "merge", "squash", "rebase" ], "type": "string" }, "owner": { "description": "Repository owner path (enterprise, organization, or personal path)", "type": "string" }, "prune_source_branch": { "description": "Whether to delete the source branch after merging", "type": "boolean" }, "pull_number": { "description": "Pull Request number", "type": "number" }, "repo": { "description": "Repository path", "type": "string" } }, "required": [ "owner", "repo", "pull_number" ], "type": "object" }