Search before asking
What happened
In v0.15, Config-UI uses /users/{username}/repos to list repos for a GitHub user. However, according to GitHub API, this endpoint only list public repos of that user: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repositories-for-a-user
We should probably use this endpoint (/user/repos) instead: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repositories-for-the-authenticated-user
What do you expect to happen
Users are able to see their private repos in Config-UI as long as their PAT has the right permission.
How to reproduce
See above
Anything else
No response
Version
v0.15.0
Are you willing to submit PR?
Code of Conduct
Search before asking
What happened
In v0.15, Config-UI uses
/users/{username}/reposto list repos for a GitHub user. However, according to GitHub API, this endpoint only list public repos of that user: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repositories-for-a-userWe should probably use this endpoint (
/user/repos) instead: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repositories-for-the-authenticated-userWhat do you expect to happen
Users are able to see their private repos in Config-UI as long as their PAT has the right permission.
How to reproduce
See above
Anything else
No response
Version
v0.15.0
Are you willing to submit PR?
Code of Conduct