Skip to content

Commit

Permalink
Enable branch protection and auto merge
Browse files Browse the repository at this point in the history
This enables branch protection and automerge

Signed-off-by: Christoph Läubrich <[email protected]>
  • Loading branch information
laeubi authored Jan 29, 2024
1 parent 5c93936 commit f05a117
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions otterdog/eclipse-tycho.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,21 @@ orgs.newOrg('eclipse-tycho') {
],
},
orgs.newRepo('tycho') {
allow_merge_commit: true,
allow_auto_merge: true,
allow_merge_commit: false,
delete_branch_on_merge: false,
dependabot_security_updates_enabled: true,
description: "Tycho project repository (tycho)",
has_discussions: true,
homepage: "",
homepage: "https://tycho.eclipseprojects.io",
secret_scanning: "enabled",
secret_scanning_push_protection: "enabled",
topics+: [
"build-tool",
"eclipse",
"java"
"java",
"maven",
"OSGi"
],
web_commit_signoff_required: false,
workflows+: {
Expand All @@ -66,6 +69,26 @@ orgs.newOrg('eclipse-tycho') {
value: "********",
},
],
rulesets: [
orgs.newRepoRuleset('main') {
allows_updates: true,
bypass_actors+: [
"@eclipse-tycho/technology-tycho-committers"
],
include_refs+: [
"refs/heads/main",
],
required_approving_review_count: 0,
required_status_checks+: [
"continuous-integration/jenkins/pr-head",
"eclipsefdn/eca",
"License vetting status check"
],
requires_commit_signatures: false,
requires_last_push_approval: false,
requires_review_thread_resolution: false,
},
],
},
],
}

0 comments on commit f05a117

Please sign in to comment.