Skip to content

feat: Add github_team_external_groups data source#3296

Open
orirawlings wants to merge 1 commit intointegrations:mainfrom
orirawlings:team_external_groups
Open

feat: Add github_team_external_groups data source#3296
orirawlings wants to merge 1 commit intointegrations:mainfrom
orirawlings:team_external_groups

Conversation

@orirawlings
Copy link
Copy Markdown

Resolves #3295


Before the change?

  • No support for reading external groups by organization team.

After the change?

  • Add github_team_external_groups data source for loading the external groups mapped to a given team.

Pull request checklist

  • Schema migrations have been created if needed (example)
  • 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
Copy Markdown

👋 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! 🚀

@deiga deiga added Type: Feature New feature or request New data source labels Mar 25, 2026
Copy link
Copy Markdown
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.

Thanks for the PR!
Partial review, left a few change requests :)

@orirawlings orirawlings force-pushed the team_external_groups branch 2 times, most recently from c0057e8 to b5ae884 Compare March 27, 2026 22:48
@orirawlings
Copy link
Copy Markdown
Author

Thank you very much for the partial review @deiga! I went ahead and addressed the feedback. Let me know if anything looks off. This is my first time working on terraform provider code so I'm still ramping up on the testing framework/approach.

Cheers

Comment on lines +32 to +36
___

* `group_id` - The ID of the external group.
* `group_name` - The name of the external group.
* `updated_at` - The date the group was last updated.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

issue: This doesn't follow the pattern in the docs, please adjust

Copy link
Copy Markdown
Author

@orirawlings orirawlings Mar 30, 2026

Choose a reason for hiding this comment

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

I assume you prefer the subfields to be a nested list under external_groups? The current patch is replicating the pattern used in website/docs/d/external_groups.html.markdown. Should I include a commit to update to use a nested list there as well?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@deiga Thanks for another round of review.

I went ahead and pushed an update to both pages to use a nested list. I also realized I missed adding a link to the new page in website/github.erb, so I added that as well.

@orirawlings orirawlings force-pushed the team_external_groups branch from b5ae884 to 27f3db1 Compare March 30, 2026 15:33
@orirawlings
Copy link
Copy Markdown
Author

Thank you for the review and approval @deiga!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New data source Type: Feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Add data source support for the External Groups of a Team

2 participants