sigmavirus24 / github3.py

Hi, I'm a library for interacting with GItHub's REST API in a convenient and ergonomic way. I work on Python 3.6+.
https://github3.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.21k stars 404 forks source link

Add support for head_repo param for PR creation #1192

Open RadekManak opened 3 months ago

RadekManak commented 3 months ago

This parameter allows the repository containing the PR branch to be fully specified in the head_repo with value of organization/repository and using head parameter for the branch name.

This parameter is required when the fork does not have the same name as the original repository. e.g. when the fork repository is in the same organization as the main repository.

Fixes #1190

RadekManak commented 3 months ago

Looks like the test requires a new cassette. Is that something I can create?