We are using Peribolos to manage our GitHub org settings, teams and memberships in a yaml file.
peribolos runs on every push to master and every PR to master (dry-run).
docker run --rm -v ~/peribolos-github-token:/etc/github/oauth gcr.io/k8s-prow/peribolos:latest \
--dump baloise-incubator \
--dump-full \
--github-token-path /etc/github/oauth \
> config.yaml
docker run --rm gcr.io/k8s-prow/peribolos:latest --help