rust-lang / sync-team

Synchronize the team repository with the services we use
Apache License 2.0
15 stars 13 forks source link

Handle pending GitHub team invites #42

Closed rylev closed 1 year ago

rylev commented 1 year ago

When diffing team membership we don't handle those who are not yet in the team but there is a pending invite out for them to join. sync-team should recognize this as there's nothing more it can do - effectively the state is correct.

As a bonus we might want to also recognize pending invitations that go on for a very long time. We have several team members who never accepted their invitation. This is likely an indication that they are no longer active. We should at least consider some mechanism for notifying the respective team lead.