Skip to content

GitHub team tools#174

Merged
ateucher merged 7 commits into
mainfrom
github-team-tools
Feb 3, 2026
Merged

GitHub team tools#174
ateucher merged 7 commits into
mainfrom
github-team-tools

Conversation

@ateucher

@ateucher ateucher commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

While doing some cleanup with @eeholmes for the NMFS-Openscapes teams, it became apparent we needed some more tools for managing people and teams.

This adds two new functions remove_team_members() for removing a list of people from a GitHub team, and remove_org_members() for removing people from an organization.

Automated tests for this are difficult since invitations to teams need to be manually accepted, so I created a test file in tests/manual/test-gh-member-teams.R that needs to be run manually. It uses a toy team called "2021-ilm-rotj-team" and my other account @not-ateucher that I created for testing things like this.

* Pulled out common internals into helper functions
* Use toy team "2021-ilm-rotj-team" and @ateucher's toy account @not-ateucher
* Can't run automatically because must accept invitation manually
@ateucher ateucher requested review from jules32 and seankross January 22, 2026 00:15

@jules32 jules32 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Andy for doing this! I think this is great scope for kyber. I have not done any kind of code/technical review; I'll leave that to Sean if he's able to. But I approve the idea for sure, thanks!

@seankross

Copy link
Copy Markdown
Contributor

Hey @ateucher I'll take a look before the end of this week.

@ateucher

Copy link
Copy Markdown
Contributor Author

Great, thanks so much Sean!

@seankross seankross left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM @ateucher

@ateucher ateucher merged commit 9cb96a3 into main Feb 3, 2026
7 checks passed
@ateucher ateucher deleted the github-team-tools branch February 3, 2026 18:41
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.

3 participants