OpenRailAssociation / github-org-manager

Manage a GitHub organization, its members, teams, repository permissions and more
Apache License 2.0
6 stars 2 forks source link

Skip "not member of any team" warning when user has been added #39

Closed mxmehl closed 3 months ago

mxmehl commented 3 months ago
[2024-08-21 09:50:53] INFO: Adding user 'User1' to team 'Team1' as member
[2024-08-21 09:50:53] WARNING: The following members of your GitHub organisation are not member of any team: User1

This probably happens because the list of current users is generated before, and new adds are not tracked.

One solution could be to create a temporary list of users who have been added to a team during the session.