From 21cb0d6cd80318f6213b92422ed2335bab3c66b5 Mon Sep 17 00:00:00 2001 From: Fabian Gruen Date: Mon, 23 Oct 2023 16:34:11 +0200 Subject: [PATCH] chore: enable branch protection sig-release main branch --- otterdog/eclipse-tractusx.jsonnet | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/otterdog/eclipse-tractusx.jsonnet b/otterdog/eclipse-tractusx.jsonnet index da534de..743a434 100644 --- a/otterdog/eclipse-tractusx.jsonnet +++ b/otterdog/eclipse-tractusx.jsonnet @@ -590,6 +590,12 @@ orgs.newOrg('eclipse-tractusx') { has_projects: false, homepage: "https://eclipse-tractusx.github.io/sig-release", web_commit_signoff_required: false, + branch_protection_rules: [ + orgs.newBranchProtectionRule('main') { + required_approving_review_count: 1, + dismisses_stale_reviews: true + }, + ], environments: [ orgs.newEnvironment('github-pages') { branch_policies+: [