From 6e2c69a0414da96f37a69adf2c11b72cbaffd870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Fri, 9 Feb 2024 16:44:18 +0100 Subject: [PATCH] Enable branch protection for tycho-4.0.x branch (#2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Enable branch protection for tycho-4.0.x branch Signed-off-by: Christoph Läubrich * reuse existing ruleset Signed-off-by: Christoph Läubrich --------- Signed-off-by: Christoph Läubrich --- otterdog/eclipse-tycho.jsonnet | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/otterdog/eclipse-tycho.jsonnet b/otterdog/eclipse-tycho.jsonnet index c4a1e11..ce1dcfb 100644 --- a/otterdog/eclipse-tycho.jsonnet +++ b/otterdog/eclipse-tycho.jsonnet @@ -70,13 +70,16 @@ orgs.newOrg('eclipse-tycho') { }, ], rulesets: [ - orgs.newRepoRuleset('main') { + orgs.newRepoRuleset('release-branches') { allows_updates: true, bypass_actors+: [ "#Write" ], include_refs+: [ "refs/heads/main", + "refs/heads/tycho-4.0.x", + "refs/heads/tycho-3.0.x", + "refs/heads/tycho-2.7.x", ], required_approving_review_count: 0, required_status_checks+: [