Skip to content

No support for head_repo parameter to create_pull #1190

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
RadekManak opened this issue Aug 13, 2024 · 0 comments · May be fixed by #1192
Open

No support for head_repo parameter to create_pull #1190

RadekManak opened this issue Aug 13, 2024 · 0 comments · May be fixed by #1192

Comments

@RadekManak
Copy link

RadekManak commented Aug 13, 2024

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.

@RadekManak RadekManak linked a pull request Aug 21, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant