Skip to content

Commit

Permalink
Add branch protection and description for newly created repos (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch authored Mar 14, 2024
1 parent 93beb0e commit 51c9720
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions otterdog/eclipse-kuksa.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ orgs.newOrg('eclipse-kuksa') {
],
},
orgs.newRepo('kuksa-mock-provider') {
description: "Python-based mock provider intended for testing",
allow_merge_commit: true,
allow_update_branch: false,
delete_branch_on_merge: false,
Expand All @@ -284,8 +285,12 @@ orgs.newOrg('eclipse-kuksa') {
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
branch_protection_rules: [
kuksa_default_branch_protection_rule('main')
],
},
orgs.newRepo('kuksa-incubation') {
description: "Proof-of-Concepts, Demonstrators and other contributions",
allow_merge_commit: true,
allow_update_branch: false,
delete_branch_on_merge: false,
Expand All @@ -295,6 +300,9 @@ orgs.newOrg('eclipse-kuksa') {
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
branch_protection_rules: [
kuksa_default_branch_protection_rule('main')
],
},
],
}

0 comments on commit 51c9720

Please sign in to comment.