Skip to content

Commit

Permalink
feat: Repository for main package (#9)
Browse files Browse the repository at this point in the history
* Add velocitas-lib repo

* Add new repo

* update to other repo settings

* Fix workflow permissions
  • Loading branch information
doosuu authored Feb 5, 2024
1 parent 1a3231e commit 4a3b52d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions otterdog/eclipse-velocitas.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -502,5 +502,24 @@ orgs.newOrg('eclipse-velocitas') {
},
],
},
orgs.newRepo('pkg-velocitas-main') {
allow_update_branch: false,
delete_branch_on_merge: true,
has_wiki: false,
web_commit_signoff_required: false,
workflows+: {
actions_can_approve_pull_request_reviews: false,
default_workflow_permissions: "read",
},
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
dismisses_stale_reviews: true,
require_last_push_approval: true,
required_approving_review_count: 1,
requires_conversation_resolution: true,
requires_strict_status_checks: true,
},
],
},
],
}

0 comments on commit 4a3b52d

Please sign in to comment.