Closed julienvincent closed 1 year ago
It looks like the gh
cli offers a gh auth token
command which can print out the currently configured token.
I guess this could be used instead of looking into the filesystem. Might give this a stab if I get a few minutes.
I'm trying to use this plugin but am failing to launch it successfully. I am authenticated with Github using the
gh
cli.If I launch Neovim with a
GITHUB_TOKEN
env set then it works fine, but I really don't want to do this.I noticed that the plugin is looking at
$HOME/.config/gh/hosts.yml
for auth tokens:https://github.com/topaxi/gh-actions.nvim/blob/4ee6bced414b533eb4f62f2494f319319453687c/lua/gh-actions/github.lua#L37
On my system this file does not contain any token information:
Some additional system status information: