#๐ just pushed the first module https
1 messages ยท Page 1 of 1 (latest)
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?
export GITHUB_TOKEN=$(gh auth token) you need to set env variable first before running the command
Works! ๐
{"defaultBranchRef":{"name":"main"},"id":"MDEwOlJlcG9zaXRvcnkyMjI4MjQ2NjI=","name":"dagger","nameWithOwner":"dagger/dagger","url":"https://github.com/dagger/dagger"}