Skip to content

Commit

Permalink
Extend branch protection rules to all repos as discussed in #6
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse-cdt-bot committed Sep 19, 2023
1 parent d844c52 commit 91611eb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions otterdog/eclipse-cdt.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ orgs.newOrg('eclipse-cdt') {
homepage: "http://eclipse.org/cdt",
web_commit_signoff_required: false,
branch_protection_rules: [
custom_branch_protection_rule('main'),
custom_branch_protection_rule('cdt_*'),
custom_branch_protection_rule('*'),
],
},
orgs.newRepo('cdt-infra') {
Expand All @@ -69,7 +68,7 @@ orgs.newOrg('eclipse-cdt') {
has_wiki: false,
web_commit_signoff_required: false,
branch_protection_rules: [
custom_branch_protection_rule('master'),
custom_branch_protection_rule('*'),
],
},
orgs.newRepo('cdt-lsp') {
Expand All @@ -80,7 +79,7 @@ orgs.newOrg('eclipse-cdt') {
has_discussions: true,
web_commit_signoff_required: false,
branch_protection_rules: [
custom_branch_protection_rule('master'),
custom_branch_protection_rule('*'),
],
},
orgs.newRepo('cdt-new-managedbuild-prototype') {
Expand All @@ -89,7 +88,7 @@ orgs.newOrg('eclipse-cdt') {
description: "Prototype of new Managed Build system for Eclipse CDT",
web_commit_signoff_required: false,
branch_protection_rules: [
custom_branch_protection_rule('master'),
custom_branch_protection_rule('*'),
],
},
orgs.newRepo('cdt-vscode') {
Expand All @@ -99,7 +98,7 @@ orgs.newOrg('eclipse-cdt') {
homepage: "",
web_commit_signoff_required: false,
branch_protection_rules: [
custom_branch_protection_rule('master'),
custom_branch_protection_rule('*'),
],
},
],
Expand Down

0 comments on commit 91611eb

Please sign in to comment.