Skip to content

gh actions-importer keeps calling github.com instead of GHES instance #294

Discussion options

You must be logged in to vote

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 use GITHUB_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 defined CIRCLE_CI_SOURCE_GITHUB_ACCESS_TOKEN to have the same value as GITHUB_ACCESS_TOKEN.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mh-isaac-riceweber
Comment options

@tyrken
Comment options

Answer selected by tyrken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants