Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

No support for head_repo parameter to create_pull #1190

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant