Skip to content

Commit

Permalink
add branch protection
Browse files Browse the repository at this point in the history
  • Loading branch information
wilyle committed Oct 18, 2023
1 parent e289266 commit 4468b89
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions otterdog/eclipse-ibeji.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ orgs.newOrg('eclipse-ibeji') {
allow_merge_commit: true,
allow_update_branch: false,
delete_branch_on_merge: false,
description: "freyja project",
secret_scanning_push_protection: "disabled",
web_commit_signoff_required: false,
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
dismisses_stale_reviews: true,
required_approving_review_count: 1,
},
],
},
orgs.newRepo('ibeji') {
allow_merge_commit: true,
Expand All @@ -31,6 +38,12 @@ orgs.newOrg('eclipse-ibeji') {
description: "ibeji project",
secret_scanning_push_protection: "disabled",
web_commit_signoff_required: false,
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
dismisses_stale_reviews: true,
required_approving_review_count: 1,
},
],
},
orgs.newRepo('ibeji-example-applications') {
allow_merge_commit: true,
Expand All @@ -39,6 +52,12 @@ orgs.newOrg('eclipse-ibeji') {
description: "ibeji project example applications and integrations with other components",
secret_scanning_push_protection: "disabled",
web_commit_signoff_required: false,
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
dismisses_stale_reviews: true,
required_approving_review_count: 1,
},
],
},
],
}

0 comments on commit 4468b89

Please sign in to comment.