SIGN IN SIGN UP

Add support for head_repo when creating pull request (#3479)

I needed the ability to specify the head_repo during a create_pull call
in order to create a pull request on a different repo that is in the
same organization.

The change is relatively straightforward and just passes the value to
the post_parameters.

Resolves: https://github.com/PyGithub/PyGithub/issues/2942

---------

Co-authored-by: Enrico Minack <github@enrico.minack.dev>
S
Shannon Poole committed
8ddfd6b1188f6f5d8cd446358f34aa57cfbec514
Parent: c8231b8
Committed by GitHub <noreply@github.com> on 6/8/2026, 2:23:45 PM