3rd-party-integrations / github-team-sync

Sync GitHub teams to groups in Active Directory, LDAP, Okta, OneLogin or AzureAD when using any authentication method for GitHub.
MIT License
201 stars 67 forks source link

Add support for ignoring GitHub users #123

Closed kristian-lesko closed 2 years ago

kristian-lesko commented 2 years ago

In some cases, a user may be added to teams even without directory account. Add support to keep the user in team.

primetheus commented 2 years ago

@kristian-lesko This looks good 👍🏽

So, the syncmap.yml would have this, correct?

---
mapping:
  - github: demo-team
    directory: ldap super users
  - github: demo-team-2
    directory: another-group

ignore_users:
  - userA
  - userB
  - userC

Can you add that to the syncmap.yml.example?