Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub App can only list public containers from repo #3283

Open
eleftherias opened this issue May 8, 2024 · 0 comments
Open

GitHub App can only list public containers from repo #3283

eleftherias opened this issue May 8, 2024 · 0 comments
Labels
blocked An issue that cannot be worked on until a dependency is resolved go Pull requests that update Go code

Comments

@eleftherias
Copy link
Member

GitHub fine grained tokens, including the tokens generated by a GitHub Apps, do not have access to list all the containers associated with a repository.

In Minder's implementation of the GitHub App provider, we use a fallback token in order to list the containers associated with a repository.

func (c *GitHub) ListPackagesByRepository(

However, this token only has access to public packages on public repos.

This is a limitation of the GitHub packages API.
There is currently no issue in the GitHub backlog that is tracking this feature, but is related to github/roadmap#558.

@eleftherias eleftherias added go Pull requests that update Go code blocked An issue that cannot be worked on until a dependency is resolved labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked An issue that cannot be worked on until a dependency is resolved go Pull requests that update Go code
Projects
None yet
Development

No branches or pull requests

1 participant