From 14a6e91d58342a9f886a7bb6f8b8ce83ff37c2f9 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Mon, 19 Aug 2024 08:57:06 +0200 Subject: [PATCH] reimport to reflect live settings --- otterdog/eclipse-csi.jsonnet | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/otterdog/eclipse-csi.jsonnet b/otterdog/eclipse-csi.jsonnet index 0f52c58..cc6d417 100644 --- a/otterdog/eclipse-csi.jsonnet +++ b/otterdog/eclipse-csi.jsonnet @@ -11,6 +11,15 @@ orgs.newOrg('eclipse-csi') { actions_can_approve_pull_request_reviews: false, }, }, + secrets+: [ + orgs.newOrgSecret('DEPENDENCY_TRACK_API_KEY') { + selected_repositories+: [ + "otterdog" + ], + value: "********", + visibility: "selected", + }, + ], _repositories+:: [ orgs.newRepo('.github') { has_discussions: true, @@ -62,6 +71,11 @@ orgs.newOrg('eclipse-csi') { description: "This repository contains the source for the Eclipse Foundation Security Handbook.", gh_pages_build_type: "workflow", homepage: "https://eclipse-csi.github.io/security-handbook/", + branch_protection_rules: [ + orgs.newBranchProtectionRule('main') { + required_approving_review_count: 0, + }, + ], environments: [ orgs.newEnvironment('github-pages') { branch_policies+: [ @@ -70,11 +84,6 @@ orgs.newOrg('eclipse-csi') { deployment_branch_policy: "selected", }, ], - branch_protection_rules: [ - orgs.newBranchProtectionRule('main') { - required_approving_review_count: 0, - }, - ], }, orgs.newRepo('sonatype-lifecycle') { description: "Configuration files and guides for deployment and usage of Sonatype Lifecycle at the Eclipse Foundation",