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

Does not work without specifying cli-token #6

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

Does not work without specifying cli-token #6

Holzhaus opened this issue Nov 25, 2024 · 0 comments

Comments

@Holzhaus
Copy link

If cli-token is not specified, I see this error:

Run actions4gh/setup-gh@v1.0.2
file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:2[8](https://my-ghes-instance.example.com/cariad-mod/playground/actions/runs/7819313/job/21934081#step:3:9)973
    throw new Error(
          ^

Error: [@octokit/auth-unauthenticated] No reason passed to createUnauthenticatedAuth
    at createUnauthenticatedAuth2 (file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:28[9](https://my-ghes-instance.example.com/cariad-mod/playground/actions/runs/7819313/job/21934081#step:3:10)73:11)
    at new _a (file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:22233:21)
    at new OctokitWithDefaults (file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:22151:9)
    at new _a2 (file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:22174:31)
    at getOctokit (file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:24788:[10](https://my-ghes-instance.example.com/cariad-mod/playground/actions/runs/7819313/job/21934081#step:3:11))
    at file:///runner/_work/_actions/actions4gh/setup-gh/v1.0.2/dist/main.js:28981:103
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:[12](https://my-ghes-instance.example.com/cariad-mod/playground/actions/runs/7819313/job/21934081#step:3:13)3:5)
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