Skip to content

Commit

Permalink
Set release branch protection with approve reviews 2 (adoptium#70)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard authored Nov 29, 2024
1 parent 89028cc commit b1fe2c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions otterdog/adoptium.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@ orgs.newOrg('adoptium') {
],
branch_protection_rules: [
orgs.newBranchProtectionRule('master'),
orgs.newBranchProtectionRule('v20*') {
required_approving_review_count: 2,
},
],
},
newTemurinRepo('containers') {
Expand Down Expand Up @@ -619,6 +622,9 @@ orgs.newOrg('adoptium') {
],
branch_protection_rules: [
orgs.newBranchProtectionRule('master'),
orgs.newBranchProtectionRule('v20*') {
required_approving_review_count: 2,
},
],
custom_properties+: {
eclipse_project: "adoptium.temurin",
Expand Down Expand Up @@ -742,6 +748,9 @@ orgs.newOrg('adoptium') {
],
branch_protection_rules: [
orgs.newBranchProtectionRule('master'),
orgs.newBranchProtectionRule('v20*') {
required_approving_review_count: 2,
},
],
},
newTemurinRepo('temurin-cpe-generator') {
Expand Down

0 comments on commit b1fe2c3

Please sign in to comment.