Manage repository ownership with your organization's repositories.
This tool expects a yaml
file called repositories.yaml
in the path you run this,
but you can override this with the --config
flag.
organization: <your organization>
team:
- name: <a team name with admin privileges>
level: admin
- name: <a team name with read-only permissions>
level: pull
- name: <a-team-with-write-permissions>
level: push
repositories:
- name: my-repo
wiki: true # enables wiki on repo (default: false)
issues: true # enables issues on the repo (default: false)
projects: true # enables projects on the repo (default: false)
- name: another-one
# wiki, issues, and projects are disabled if not specified
go run main.go