Back to GithubUpdate a pull request branch
Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
Input
type: object
properties:
parameters:
type: object
properties:
owner:
type: string
description: The account owner of the repository. The name is not case sensitive.
repo:
type: string
description: The name of the repository. The name is not case sensitive.
pull_number:
type: integer
description: The number that identifies the pull request.
required:
- owner
- repo
- pull_number
title: Parameters
data:
type: object
properties:
expected_head_sha:
type: string
description: >-
The expected SHA of the pull request's HEAD ref. This is the most
recent commit on the pull request's branch. If the expected SHA does
not match the pull request's HEAD, you will receive a `422
Unprocessable Entity` status. You can use the "[List
commits](https://docs.github.com/rest/reference/repos#list-commits)"
endpoint to find the most recent commit SHA. Default: SHA of the pull
request's current HEAD ref.
title: Data
Output
type: object
properties:
message:
type: string
url:
type: string