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/token gcr.io/k8s-prow/peribolos:latest \
--dump baloise \
--dump-full \
--github-token-path /etc/github/token \
> config.yaml
docker run --rm gcr.io/k8s-prow/peribolos:latest --help