Skip to content

Searching for open PRs awaiting review in private repos returns nothing #1806

Answered by eliorivero
eliorivero asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Gregor, thanks for your response!

The token does have repo scope. This is an OAuth app and the authorization link is created as
https://github.com/login/oauth/authorize?client_id=${ clientId }&scope=repo&state=${ state }
Also, I've another tool in this same app that creates multiple GitHub issues entering them in plain text and I can create them in private repos.

I tried the proposed solution and it didn't return anything. This is the response:

{   
  status: 200,
  url: 'https://api.github.com/search/issues?q=is%3Aopen%20is%3Apr%20is%3Aprivate%20review-requested%3A%40me',
  headers: {
    'access-control-allow-origin': '*',
    'access-control-expose-headers': 'ETag, Link, Location, R…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@eliorivero
Comment options

@gr2m
Comment options

@eliorivero
Comment options

@eliorivero
Comment options

@gr2m
Comment options

Answer selected by eliorivero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants