Skip to main content
Glama

Github Project Manager

update_pull_request_branch

Sync a pull request branch with the latest upstream changes to ensure it is updated. Specify the repository, owner, and pull request number for efficient branch management.

Instructions

Update a pull request branch with the latest upstream changes

Input Schema

NameRequiredDescriptionDefault
expected_head_shaNoThe expected SHA of the pull request head
ownerYesRepository owner (username or organization)
pull_numberYesPull request number
repoYesRepository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "expected_head_sha": { "description": "The expected SHA of the pull request head", "type": "string" }, "owner": { "description": "Repository owner (username or organization)", "type": "string" }, "pull_number": { "description": "Pull request number", "type": "number" }, "repo": { "description": "Repository name", "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/Monsoft-Solutions/model-context-protocols'

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