create_pull_request
Create Pull Requests in Gitee repositories by specifying source and target branches, title, content, reviewers, labels, and related issues.
Instructions
在 Gitee 仓库中创建 Pull Request
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assignees | No | Reviewers | |
base | Yes | Target branch name | |
body | No | Pull Request content | |
head | Yes | Source branch name | |
issue | No | Related issue, format: #xxx | |
labels | No | Labels | |
milestone_number | No | Milestone number | |
owner | Yes | Repository owner path (enterprise, organization, or personal path) | |
prune_source_branch | No | Whether to delete the source branch after merging | |
repo | Yes | Repository path | |
testers | No | Testers | |
title | Yes | Pull 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"
}