Open cbrownrt opened 8 years ago
I'm in the same situation, which part of the code would i have to alter to make this work in the package?
I think the problematic code is around here but I don't recall which request needs to be made to get the proper JSON back from GitHub's API. I can take a look but it may be a few days (if someone wants to explore)
Does it work if you have the repo forked?
I took a look at this on the weekend and found that the issue is actually related to the token scope.
If you don't supply the repo
scope on the access token, organization private repos don't appear to exist. I changed the scope and it started working immediately.
@zxaos should this be marked closed if this is a non-issue?
@manavkataria PR #22 Should close this issue, IMO - it needs documenting since at least three people ran into it :-)
I tried adding the repo scope to the access token, but doesn't seem to be working
Same for me, this doesn't work. Added the repo scope and still errors.
If a repo belongs to an organization instead of a user, the request for the pulls does not work. I am on an enterprise version, as well.
For example:
I can make this work from curl by substituting the organization name for the username: