From 6253f51057c945b8f2f851117f82c7478c57d4f0 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Tue, 10 Oct 2023 11:42:12 +0200 Subject: [PATCH] Add .github repo (#1) * Add .github repo Signed-off-by: Thomas Neidhart * Remove redundant settings. Signed-off-by: Thomas Neidhart --------- Signed-off-by: Thomas Neidhart --- otterdog/eclipse-oniro4openharmony.jsonnet | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/otterdog/eclipse-oniro4openharmony.jsonnet b/otterdog/eclipse-oniro4openharmony.jsonnet index e1dc46d..91e4aaa 100644 --- a/otterdog/eclipse-oniro4openharmony.jsonnet +++ b/otterdog/eclipse-oniro4openharmony.jsonnet @@ -5,14 +5,17 @@ orgs.newOrg('eclipse-oniro4openharmony') { default_repository_permission: "none", description: "", members_can_change_project_visibility: false, - members_can_change_repo_visibility: false, - members_can_create_private_repositories: false, - members_can_create_public_repositories: false, - members_can_create_teams: false, - members_can_delete_repositories: false, name: "Eclipse Oniro for OpenHarmony", packages_containers_internal: false, packages_containers_public: false, web_commit_signoff_required: false, }, + _repositories+:: [ + orgs.newRepo('.github') { + allow_auto_merge: true, + allow_update_branch: false, + delete_branch_on_merge: false, + web_commit_signoff_required: false, + }, + ], }