Listing all repositories accessible to the user (public as well as private) for an org installation


#1

Hi,

If an organization has selected a few public and private while installing a GitHub app. It seems that when the api: GET /user/installations/:installation_id/repositories is called for an authenticated user, it correctly lists the private repositories the user has access to, however, it doesn’t return the public repositories. Since public repositories are accessible to everyone, shouldn’t that also be returned?

Regards,
Sushant


#2

Hi Sushant,

That sounds very reasonable. I’ll take this feedback to the team and add it as an issue.

Thank you!
Jerry


#3

Hi @sushant-hiray

I’m not able to reproduce your issue, are would you mind dropping in a CURL API example that only lists private repos and not the public ones?

Thanks!