Skip to content

No support for head_repo parameter to create_pull #1190

Open
@RadekManak

Description

@RadekManak

GitHub added support for having multiple-forks of the same repository in a single organization. For this to work, a new parameter head_repo was added to the pull request API call.

When using this field, the head parameter must only contain the branch and head_repo must contain "organization/repository" This is not documented in the GitHub API docs 🙂

https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#create-a-pull-request--parameters

I am cooking a commit for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions