Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

"Update Branch" button not available in API #1523

@mspiegel

Description

@mspiegel

The "Update Branch" button in the pull request user interface can be used to merge commits from the base branch into the compare branch. There is no corresponding action in the GitHub API. You can use the GitHub Merge API if the base branch and the compare branch are in the same repository. But you cannot sync across a fork using the GitHub API. This is annoying because the functionality has already been implemented (because it's in the user interface) but it is not available programmatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRequests related to the GitHub developer APIforksmerge

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions