Skip to content

GitHub organization repositories#3243

Open
borchero wants to merge 4 commits intointegrations:mainfrom
borchero:github-organization-repositories
Open

GitHub organization repositories#3243
borchero wants to merge 4 commits intointegrations:mainfrom
borchero:github-organization-repositories

Conversation

@borchero
Copy link

@borchero borchero commented Feb 28, 2026

Resolves #2484, supersedes #2485 which I cannot reopen


Before the change?

see issue

After the change?

  • There exists a new github_organization_repositories data source providing details about all repositories in an organization
    • The set of details returned is kept small for now (both to gauge an understanding of whether this can make it into the provider and to not unnecessarily blow up the API from the get-go)

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

Copy link
Collaborator

@deiga deiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does exist in data_source_github_organization already, but I think that should maybe be deprecated. Could you mark this as deprecated?


func dataSourceGithubOrganizationRepositories() *schema.Resource {
return &schema.Resource{
Read: dataSourceGithubOrganizationRepositoriesRead,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the Context-aware functions

Suggested change
Read: dataSourceGithubOrganizationRepositoriesRead,
ReadContext: dataSourceGithubOrganizationRepositoriesRead,

return &schema.Resource{
Read: dataSourceGithubOrganizationRepositoriesRead,
Schema: map[string]*schema.Schema{
"repositories": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

[FEAT]: github_organization_repositories data source

2 participants