Skip to content

Commit

Permalink
Loosen branch protection rules to just primary and release ones (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgraham authored Feb 22, 2024
1 parent 69fb901 commit a10b39d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions otterdog/eclipse-cdt.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ orgs.newOrg('eclipse-cdt') {
default_workflow_permissions: "write",
},
branch_protection_rules: [
custom_branch_protection_rule('*'),
custom_branch_protection_rule('main'),
custom_branch_protection_rule('org.eclipse.remote-master'),
custom_branch_protection_rule('cdt_*'),
],
},
orgs.newRepo('cdt-infra') {
Expand Down Expand Up @@ -93,7 +95,8 @@ orgs.newOrg('eclipse-cdt') {
actions_can_approve_pull_request_reviews: false,
},
branch_protection_rules: [
custom_branch_protection_rule('*'),
custom_branch_protection_rule('master'),
custom_branch_protection_rule('cdt_lsp_*'),
],
},
orgs.newRepo('cdt-new-managedbuild-prototype') {
Expand Down

0 comments on commit a10b39d

Please sign in to comment.