A script to sync GitHub teams and their members based on a YAML config file.
- Node.js v18+
- A GitHub personal access token (set as
GITHUB_TOKENenv var)
node team-sync --config path/to/teams.yamlOptional dry-run mode:
node team-sync.js --config path/to/teams.yaml --dry-runteams:
- name: community-plugins-$plugin
description: Maintainers of $plugin
parent: community-plugins-owners
members:
- GitHubUserA
- GitHubUserB