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_repositories data only returns public repos #1760

Closed
dandill-curative opened this issue Jun 27, 2023 · 1 comment
Closed

github_repositories data only returns public repos #1760

dandill-curative opened this issue Jun 27, 2023 · 1 comment

Comments

@dandill-curative
Copy link

I'm not sure if this is expected behavior or a bug, and it was unclear in the documentation. When using github_repositories to query my org's github repos I am only able to get public repos to be returned. Private repos are not included in the output.

data "github_repositories" "repo" {
  query           = "org:myorgname"
  include_repo_id = true
}
@duxbuse
Copy link

duxbuse commented Jun 28, 2023

You will need an auth token to see non-public stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants