Closed
Description
GitHub CLI Version
2.63.2
gh-skyline Version
0.0.4
What Operating System are you seeing the problem on?
macOS
What happened?
I am trying to generate my Skyline against a Github Enterprise Service instance.
When running gh skyline
as it, it attempts to connect to github.com:
➜ gh skyline
Error: [NETWORK] failed to initialize GitHub client: failed to create REST client: authentication token not found for host github.com
Using GH_HOST, the cli is using the wrong GraphQL endpoint:
➜ GH_HOST=github.XXX.YYY gh skyline
Error: failed to fetch contributions: [GRAPHQL] failed to fetch contributions: HTTP 404: Not Found (https://github.XXX.YYY/api/v3/graphql)
The correct GraphQL URL would be https://github.XXX.YYY/api/graphql
. This is also encoded by the corresponding logic in graphQLEndpoint
.
I would appear to be correctly authenticated, with the "active" instance being set to the GHE instance:
➜ gh auth status
github.XXX.YYY
✓ Logged in to github.XXX.YYY account ZZZZZZZ (keyring)
- Active account: true
- Git operations protocol: https
- Token: gho_************************************
- Token scopes: 'gist', 'read:org', 'repo', 'workflow'
github.AAAA.BBB.CCC # other GHE instance
✓ Logged in to github.AAAA.BBB.CCC account ZZZZZZZ (keyring)
- Active account: true
- Git operations protocol: https
- Token: gho_************************************
- Token scopes: 'gist', 'read:org', 'repo', 'workflow'
Appreciate your support, the X1C needs a break from churning out multiboard parts :)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done