Gitee

by normal-coder
Verified

create_pull_request

在 Gitee 仓库中创建 Pull Request

Input Schema

NameRequiredDescriptionDefault
assigneesNoReviewers
baseYesTarget branch name
bodyNoPull Request content
headYesSource branch name
issueNoRelated issue, format: #xxx
labelsNoLabels
milestone_numberNoMilestone number
ownerYesRepository owner path (enterprise, organization, or personal path)
prune_source_branchNoWhether to delete the source branch after merging
repoYesRepository path
testersNoTesters
titleYesPull Request title

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "assignees": { "description": "Reviewers", "items": { "type": "string" }, "type": "array" }, "base": { "description": "Target branch name", "type": "string" }, "body": { "description": "Pull Request content", "type": "string" }, "head": { "description": "Source branch name", "type": "string" }, "issue": { "description": "Related issue, format: #xxx", "type": "string" }, "labels": { "description": "Labels", "items": { "type": "string" }, "type": "array" }, "milestone_number": { "description": "Milestone number", "type": "number" }, "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" }, "repo": { "description": "Repository path", "type": "string" }, "testers": { "description": "Testers", "items": { "type": "string" }, "type": "array" }, "title": { "description": "Pull Request title", "type": "string" } }, "required": [ "owner", "repo", "title", "head", "base" ], "type": "object" }