When parsing the RepoURL, if the host ends in github.com then append an "api." to it.
This handles the normal "https://github.com/my-org/my-repo.git" case, as well
as private installations within the github.com domain-space e.g
"https://my-company.github.com/my-org/my-repo.git".
When parsing the RepoURL, if the host ends in github.com then append an "api." to it.
This handles the normal
"https://github.com/my-org/my-repo.git"
case, as well as private installations within the github.com domain-space e.g"https://my-company.github.com/my-org/my-repo.git"
.Fixes: #1