Skip to main content
Glama

merge_pull_request

Merge pull requests in a Gitee repository with configurable merge methods and options to delete the source branch post-merge.

Instructions

合并 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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/normal-coder/gitee-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server