It would be really nice if octo could use the GITHUB_TOKEN env var to authenticate. I ran into this while trying to use octo in a codespace. In a codespace, GITHUB_TOKEN is set so that tools that consume it , gh for example, work out of the box. It surprised me to see the, message about having to auth with gh auth login since gh was working fine with the env var set.
Describe what you expected to happen
I expect octo to work the same as gh in that it allows me to auth with the GITHUB_TOKEN env var.
Issue Description
Type: feature request
Describe what happened (or what feature you want)
It would be really nice if octo could use the
GITHUB_TOKEN
env var to authenticate. I ran into this while trying to use octo in a codespace. In a codespace,GITHUB_TOKEN
is set so that tools that consume it ,gh
for example, work out of the box. It surprised me to see the, message about having to auth withgh auth login
sincegh
was working fine with the env var set.Describe what you expected to happen
I expect octo to work the same as
gh
in that it allows me to auth with theGITHUB_TOKEN
env var.