Closed akinsho closed 3 years ago
Thanks for filing the issue. Will take a look ASAP. In the meantime, try reviewing the PR without checking it out. The review module should fetch the right branch files
Thanks for the quick fix @pwntester, just as an FYI there was also a typo in the error message that was being printed. Octo
was being spelt as Oto
I'm not getting the error anymore but just in case it's a logger somewhere that might have the name misspelled in it
Thanks for the typo report, should be fixed now.
Issue Description
Type: bug report
Describe what happened (or what feature you want)
Hi 👋🏾 thanks for your work on this plugin, it's really exciting to see this kind of integration in neovim.
So my issue is, when trying to review a PR that is from a fork of your project using octo it errors returning
It seems to fail because the PR is being submitted from a fork of my project. The
gh
cli seems to be able to checkout this PR without issue though so I'm not sure what the blocker might be on octo's end.Describe what you expected to happen
Much like the
gh
cli I would expect that the PR would be checked out without issueHow to reproduce it (as minimally and precisely as possible)
Find a project with an open PR from a fork you can try
flutter-tools.nvim
Octo pr list
and selecting one from a forkOcto pr checkout
Tell us your environment
neovim: nvim nightly (updated last night) OS: ubuntu 21.04
Anything else we need to know?
I have the
gh
cli installed and am authenticated using SSH 🤷🏾 Running the checkout command in the cli directly works