From 5fbd73a4d1c3ee562e9d8ec88125ed6bfa1553bd Mon Sep 17 00:00:00 2001 From: Cristiano Aguzzi Date: Fri, 9 Feb 2024 12:00:22 +0100 Subject: [PATCH] chore: add branch protection rules for node-wot Signed-off-by: Cristiano Aguzzi --- otterdog/eclipse-thingweb.jsonnet | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/otterdog/eclipse-thingweb.jsonnet b/otterdog/eclipse-thingweb.jsonnet index c086d42..757b8cf 100644 --- a/otterdog/eclipse-thingweb.jsonnet +++ b/otterdog/eclipse-thingweb.jsonnet @@ -90,6 +90,11 @@ orgs.newOrg('eclipse-thingweb') { "web-of-things", "wot" ], + branch_protection_rules : [ + orgs.newBranchProtectionRule('main') { + required_approving_review_count: 2 + } + ], web_commit_signoff_required: false, workflows+: { default_workflow_permissions: "write",