Otterdog supports team creation, and extending it to manage team access to repositories would be highly beneficial for larger organizations.
Api doc: https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#add-or-update-team-repository-permissions
Proposition based on existing doc and API format https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/OWNER/REPO :
orgs.newOrg('OtterdogTest') {
...
teams+: [
orgs.newTeam('committers') {
description: "The project committers",
privacy: "visible",
repositories+: {
"test-repo": {
permission: "push"
}
},
},
],
...
}
Otterdog supports team creation, and extending it to manage team access to repositories would be highly beneficial for larger organizations.
Api doc: https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#add-or-update-team-repository-permissions
Proposition based on existing doc and API format
https://api.github.com/orgs/ORG/teams/TEAM_SLUG/repos/OWNER/REPO: