Skip to content

Commit

Permalink
Enable branch protection for tycho-4.0.x branch (#2)
Browse files Browse the repository at this point in the history
* Enable branch protection for tycho-4.0.x branch

Signed-off-by: Christoph Läubrich <[email protected]>

* reuse existing ruleset

Signed-off-by: Christoph Läubrich <[email protected]>

---------

Signed-off-by: Christoph Läubrich <[email protected]>
  • Loading branch information
laeubi committed Feb 9, 2024
1 parent 74b9024 commit 6e2c69a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion otterdog/eclipse-tycho.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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+: [
Expand Down

0 comments on commit 6e2c69a

Please sign in to comment.