Search code examples
pythongithubgithub-app

How to list repos?


I'm using the following package in order to generate a github app: https://github.com/swinton/github-app-demo.py

I was able to get the installation and all the details looks ok there. However, when I'm trying to list the repos, using the url: "installation/repositories", I'm getting an empty set. Thought maybe it's a permissions issue so granted the app all the possible permissions but still no luck.

update: when adding a new repo for my user I was able to see it. However, I can't see the organisation's repos.

Any ideas?

Thanks,

Nir.


Solution

  • The reason for this was that I've installed the the app in my private area and not in the organization. Therefore, I wasn't able to access the organization's private repos.