Closed dpmott closed 6 years ago
The repo
scope should be enough (i.e. for private repos). Have you double checked your other settings are correct, and that the token works if used for something else?
Thanks for your quick response!
It turns out that this is the error issued when the PR already exists. If a PR for that branch doesn't already exist, it works fine.
Still might be worthwhile to update the docs with a note about the required scope, if you happen to have it opened up for edit at some point.
Ah, makes sense. Can probably have the plugin handle that situation better.
Thanks for the feedback, planning to make a set of updates soon and will include that!
What personal access token scopes are needed for proper operation?
I tried using a token with no scopes, and that didn't work. I created a token with 'gist' and 'repo' scopes, and that worked for retrieving a list of PRs and allowing me to view a PR.
However, I'm getting an error in creating a PR: "Github PR: Unable to create PR." with the options to "Create on Github" or "Close".
The docs don't mention which token scopes are needed.
Thanks!