Closed cwndrws closed 2 years ago
Allows the GITHUB_TOKEN env var to be sent through to gh when making calls out to it. This allows octo to work out of the box in environments where GITHUB_TOKEN is automatically set (Codespaces, for example).
GITHUB_TOKEN
gh
Fixes https://github.com/pwntester/octo.nvim/issues/235
I added GITHUB_TOKEN to list of environment variables that gets passed to the job that calls out to gh
I ran my version of octo in a codespace where GITHUB_TOKEN was set and it worked.
Cool, thanks a lot!
Describe what this PR does / why we need it
Allows the
GITHUB_TOKEN
env var to be sent through togh
when making calls out to it. This allows octo to work out of the box in environments whereGITHUB_TOKEN
is automatically set (Codespaces, for example).Does this pull request fix one issue?
Fixes https://github.com/pwntester/octo.nvim/issues/235
Describe how you did it
I added
GITHUB_TOKEN
to list of environment variables that gets passed to the job that calls out togh
Describe how to verify it
I ran my version of octo in a codespace where
GITHUB_TOKEN
was set and it worked.Special notes for reviews