Github Project Manager

update_pull_request_branch

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