Skip to content

Commit

Permalink
Enforce admins on TF providers (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe authored Jan 14, 2024
1 parent 66e6079 commit b58ff0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/providers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ function tfProviderProtection(provider: string) {
new github.BranchProtection(`${provider}-${branch}-branchprotection`, {
repositoryId: `pulumi-${provider}`,
pattern: `${branch}`,
enforceAdmins: true,
requiredStatusChecks: [{
strict: false,
contexts: requiredChecks,
Expand Down

0 comments on commit b58ff0a

Please sign in to comment.