Skip to content

Commit

Permalink
Reimport to reflect changes, convert branch protection rule to a ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse-simrel-bot committed Jan 11, 2024
1 parent b301c96 commit a98b9b9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions otterdog/eclipse-simrel.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ orgs.newOrg('eclipse-simrel') {
delete_branch_on_merge: false,
description: "Global configurations for the eclipse-simrel GitHub organization.",
web_commit_signoff_required: false,
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
bypass_pull_request_allowances+: [
Expand All @@ -61,9 +58,6 @@ orgs.newOrg('eclipse-simrel') {
"help"
],
web_commit_signoff_required: false,
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
bypass_pull_request_allowances+: [
Expand All @@ -77,25 +71,31 @@ orgs.newOrg('eclipse-simrel') {
],
},
orgs.newRepo('simrel.build') {
allow_auto_merge: true,
allow_update_branch: false,
delete_branch_on_merge: false,
description: "The aggregation model and build infrastructure.",
has_discussions: true,
web_commit_signoff_required: false,
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
bypass_pull_request_allowances+: [
"@fredg02",
"@merks"
rulesets: [
orgs.newRepoRuleset('main') {
allows_updates: true,
bypass_actors+: [
"@eclipse-simrel/technology-simrel-release-managers"
],
include_refs+: [
"refs/heads/main",
],
required_approving_review_count: 0,
requires_status_checks: false,
requires_strict_status_checks: true,
required_status_checks+: [
"continuous-integration/jenkins/pr-head"
],
requires_commit_signatures: false,
requires_last_push_approval: false,
requires_review_thread_resolution: false,
},
],

},
orgs.newRepo('simrel.tools') {
allow_update_branch: false,
Expand Down

0 comments on commit a98b9b9

Please sign in to comment.