Excel Add-In for GitHub

Build 26.0.9655

UpdatePullRequestBranch

Merge or Rebase HEAD from upstream branch into pull request branch.

Input

Name Type Required Description
PullRequestId String True The Node ID of the pull request.
ExpectedHeadOid String False The head ref oid for the upstream branch.
UpdateMethod String False The update branch method to use. If omitted, defaults to 'MERGE'.

The allowed values are MERGE, REBASE.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
PullRequestId String The ID of the updated pull request.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655