Skip to content
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 server URL when using on GitHub Enterprise #5

Open
Holzhaus opened this issue Nov 25, 2024 · 0 comments
Open

Wrong server URL when using on GitHub Enterprise #5

Holzhaus opened this issue Nov 25, 2024 · 0 comments

Comments

@Holzhaus
Copy link

After specifying cli-token, I see this error:

RequestError [HttpError]: Bad credentials
    at file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:21910:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.next (file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:24377:29)
    at async file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:28993:20 {
  status: 401,
  response: {
    url: 'https://my-ghes-instance.example.com/api/v3/repos/cli/cli/releases',
    status: 401,

There is no repo cli/cli on my GHES instance though. I suppose it should be using the URL https://github.com/api/v3/repos/cli/cli/releases instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant