ldelossa / gh.nvim

A fully featured GitHub integration for performing code reviews in Neovim.
MIT License
520 stars 24 forks source link

Failed to list PRs #87

Open colehpage opened 1 year ago

colehpage commented 1 year ago

Hey there!

I'm not sure if this is related to the past issues with private repos (repo in question is a private work repo) but using the default setup when I run GHOpenPR i get "Failed to list PRs"

CleanShot 2023-05-08 at 16 30 08@2x

I've tried this with git_protocol set to ssh and https and using gh pr list in the same directory correctly lists all PRs. They are paginated but that seems to have been solved in the past. I'm not sure what I'm doing wrong here, but any pointers would be greatly appreciated, would love to use your tool.

For added possibly helpful context, running GHSearchPRs results in some errors as well.

CleanShot 2023-05-08 at 16 29 53@2x

I haven't had the time to dig too deep into all this, so apologies if it's something basic or straightforward - and am still fairly new to both nvim and lua. Regardless thanks in advance for both the work put in and any answers - have a great one!

faustind commented 1 year ago

@colehpage Do you use HTTPS or SSH for git operations? If SSH then having to enter a passphrase might be the issue 🤔