Skip to content

Commit

Permalink
Merge pull request #95 from rhoerr/fix-merge-permissions
Browse files Browse the repository at this point in the history
chore: grant push_allowances to codeowners for each standard repository
  • Loading branch information
mage-os-ci authored Sep 16, 2024
2 parents d73e0ef + 7bb85b4 commit fd11ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ resource "github_branch_protection" "repositories" {
}

restrict_pushes {
push_allowances = try(each.value.is_part_of_monorepo, false) ? [data.github_user.mage-os-ci.node_id] : []
push_allowances = try(each.value.is_part_of_monorepo, false) ? [data.github_user.mage-os-ci.node_id] : each.value.teams
}
}

Expand Down

0 comments on commit fd11ff5

Please sign in to comment.