#๐ŸŽ‰ just pushed the first module https

1 messages ยท Page 1 of 1 (latest)

solar echo
#

I have

โ–ˆ [0.27s] ERROR exec /usr/local/bin/gh repo view dagger/dagger --json id,name,nameWithOwner,url,defaultBranchRef
โ”ƒ To get started with GitHub CLI, please run:  gh auth login
โ”ƒ Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.

Is there a way you're getting around this in your setup?

plush latch
#

export GITHUB_TOKEN=$(gh auth token) you need to set env variable first before running the command

solar echo
#

Works! ๐ŸŽ‰
{"defaultBranchRef":{"name":"main"},"id":"MDEwOlJlcG9zaXRvcnkyMjI4MjQ2NjI=","name":"dagger","nameWithOwner":"dagger/dagger","url":"https://github.com/dagger/dagger"}