-
Notifications
You must be signed in to change notification settings - Fork 55
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
wrong URL for GitHub Enterprise repos #831
Comments
The issue is here: action-ros-ci/src/action-ros-ci.ts Lines 570 to 572 in 48e2c83
Instead of hardcoding
|
Thanks for reporting this. A PR would definitely be welcome 😁 |
See #835. |
Description
The GitHub uses the wrong URL to fetch the repo from a GitHub Enterprise instance.
Expected Behavior
The checked-out repo URL should be the same as the repo where the action is running.
Actual Behavior
The checked-out repo is assumed to be hosted at "https://github.com/some/repo.git".
To Reproduce
The setup is as follows:
A repo is hosted in a GitHub Enterprise instance, assuming https://git.COMPANY.com/ORG/ros_package.git. In this repo, I am trying to run the CI with:
This action is creating a
package.repo
and trying to import it:But this fails with something like
Showing the content of
package.repo
indeed shows something like:Instead of using the URL of the repo that the action runs in, it is replacing the enterprise URL with the public GitHub instance.
The text was updated successfully, but these errors were encountered: