github_mcp.publish_branch
Publishes a verified job's task branch to its configured remote after local push approval and policy checks, validating final tree and refusing divergence or protected branches.
Instructions
Publish a verified job's task branch to its configured remote after applicable local push approval, policy and checks. Revalidates final tree and remote expectations; refuses divergence and protected branches. Returns job report; changes remote state and does not create a PR.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "<job_id>"
},
"name": "github_mcp.publish_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Existing verified job identifier with applicable push approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| message | No | ||
| error_code | No |