You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a PR, the head can be {owner}:{branch} which is not sufficient to distinguish between same-organisation forks. To handle this issue, they added a head_repo parameter, which is the name of the source repository for the PR.
pygithub does not currently support this parameter. It should probably be either a string or an organisation.
An other update which might be nice is to allow using a Branch as head, that way pygithub would have all the metadata for both sides of the PR creation and can infer all the bits and where to put them.
The text was updated successfully, but these errors were encountered:
A while ago, Github allowed forking repositories within an organisation (with both source and destination being the organisation).
When creating a PR, the
head
can be{owner}:{branch}
which is not sufficient to distinguish between same-organisation forks. To handle this issue, they added ahead_repo
parameter, which is the name of the source repository for the PR.pygithub does not currently support this parameter. It should probably be either a string or an organisation.
An other update which might be nice is to allow using a
Branch
ashead
, that way pygithub would have all the metadata for both sides of the PR creation and can infer all the bits and where to put them.The text was updated successfully, but these errors were encountered: