Skip to content

Commit

Permalink
fix: Increase rights for approvers
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
  • Loading branch information
aepfli committed Mar 29, 2023
1 parent a620eb3 commit 35b2580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func loadOrgs(o options) (map[string]org.Config, error) {
for name := range cfg.Repos {
admins.Repos[name] = github.Admin
maintainers.Repos[name] = github.Maintain
approvers.Repos[name] = github.Triage
approvers.Repos[name] = github.Write
cfg.Repos[name] = applyRepoDefaults(cfg, name)
}

Expand Down Expand Up @@ -232,7 +232,7 @@ func generateGroupConfig(path string) (map[string]org.Team, error) {
for _, repo := range groupCfg.Repos {
admins.Repos[repo] = github.Admin
maintainers.Repos[repo] = github.Maintain
approvers.Repos[repo] = github.Triage
approvers.Repos[repo] = github.Write
}

teams := map[string]org.Team{}
Expand Down

0 comments on commit 35b2580

Please sign in to comment.