You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sync_community_team/README.md
+16-5
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,28 @@
1
1
# Push Data to CCOS
2
2
3
-
This folder contains a script that automatically creates GitHub teams and updates their membership based on the Community Team Tracker board on Asana. It uses underlying data from the [Community Team Members page on CC Open Source][ctlistpage] to generate and populate these teams.
3
+
This folder contains a script (`sync_teams.py`) that automatically:
4
+
1. creates GitHub teams
5
+
2. updates their membership based on the
6
+
[`community_team_members.json`][databag] databag
7
+
- The databag is used to create the [Community Team Members — Creative
8
+
Commons Open Source][ctlistpage] page
9
+
- The databag is populated from the Community Team Tracker board on Asana by
2. Navigate to the `sync_community_team` folder and run `pipenv install`
13
-
3. Set the `ADMIN_GITHUB_TOKEN` environment variable with your GitHub token. You will need a GitHub token with admin permissions to the `creativecommons` GitHub organization.
14
-
5. Run the script: `pipenv run sync_teams.py` (or if you're in a virtual environment already, `python3 sync_teams.py`)
21
+
3. Set the `ADMIN_GITHUB_TOKEN` environment variable with your GitHub token.
22
+
You will need a GitHub token with admin permissions to the `creativecommons`
23
+
GitHub organization.
24
+
5. Run the script: `pipenv run sync_teams.py` (or if you're in a virtual
0 commit comments