gh actions-importer keeps calling github.com instead of GHES instance #294
-
We're trying to look at using the importer to convert some CircleCI config for repos on our GH Enterprise server, but despite using "https://git.mycorp.com/" as the
When I provide said alternative credentials via a Has anybody managed to use this with GHES? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Looks like the documentation for the environment variables is incorrect in the use of fallbacks. According to the doc, when you don't have I was able to get an audit for an org in our self-hosted GHES instance by defining |
Beta Was this translation helpful? Give feedback.
Looks like the documentation for the environment variables is incorrect in the use of fallbacks. According to the doc, when you don't have
CIRCLE_CI_SOURCE_GITHUB_INSTANCE_URL
defined, it should fall back to useGITHUB_INSTANCE_URL
. I found this to not be the case (consistent with your experience).I was able to get an audit for an org in our self-hosted GHES instance by defining
CIRCLE_CI_SOURCE_GITHUB_INSTANCE_URL
in my.env.local
file. To be safe, I also definedCIRCLE_CI_SOURCE_GITHUB_ACCESS_TOKEN
to have the same value asGITHUB_ACCESS_TOKEN
.