How to set up GitHub teams for a collection
This guide explains how to configure GitHub teams and permissions for a new collection in the Open Terms Archive organization. For third-party collections outside the organization, you can handle permissions according to your own needs.
Prerequisites
🔗
- Admin access to the OpenTermsArchive GitHub organization
- The collection name and icon
- List of team members to add
- The three collection repositories (declarations, snapshots, versions) already created
Create the collection team:
- Go to GitHub’s new team page
- Enter the collection name as the team name
- Upload the collection icon from the website as the team avatar
- Set the description to: “Maintainers of the
<collection_name>
collection” - Click “Create team”
Add team members:
- Navigate to the team’s “Members” tab
- Click “Add member”
- Search and select each member to add
- Confirm their addition
Configure repository access for the collection team:
- Go to the team’s “Repositories” tab
- Add the declarations repository with “Maintain” access
- Add the snapshots repository with “Triage” access
- Add the versions repository with “Triage” access
Note: Snapshots and versions repositories are limited to “Triage” access to prevent data corruption
Configure bot access:
- Navigate to the Bots team
- Go to the “Repositories” tab
- Add all three repositories (declarations, snapshots, versions) with “Write” access
Verification
🔗
After completing these steps, verify that:
- The team appears in the organization’s teams list
- Team members can access all repositories with appropriate permissions
- The Bots team has write access to all repositories