Skip to content

Access to the repos #111036

Discussion options

You must be logged in to vote

Its pretty straightforward with some Python and Github Actions. A general approach would be something like:

  1. Use the GitHub API: It's a powerful way to automate a lot of stuff, including users in team groups.
  2. Automation Script: Write a small script (most probably Python) that calls the GitHub API to add users to your specified team. This can be triggered manually or set up to run at regular intervals.
  3. GitHub Actions: For a more integrated solution, consider setting up a GitHub Action that listens for specific events (like new user creation) and triggers your user-adding script. You can also use Python cronjobs to run the script regularly

Python script would look something like:

import re…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rnadupal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enterprise Admin Topics specifically related to GitHub Enterprise administration
2 participants