diff --git a/otterdog/eclipse-mat.jsonnet b/otterdog/eclipse-mat.jsonnet new file mode 100644 index 0000000..ccf8c59 --- /dev/null +++ b/otterdog/eclipse-mat.jsonnet @@ -0,0 +1,51 @@ +local orgs = import 'vendor/otterdog-defaults/otterdog-defaults.libsonnet'; + +orgs.newOrg('eclipse-mat') { + settings+: { + dependabot_alerts_enabled_for_new_repositories: false, + dependabot_security_updates_enabled_for_new_repositories: false, + dependency_graph_enabled_for_new_repositories: false, + description: "", + members_can_change_project_visibility: false, + name: "MAT project", + packages_containers_internal: false, + packages_containers_public: false, + plan: "free", + web_commit_signoff_required: false, + workflows+: { + actions_can_approve_pull_request_reviews: false, + }, + }, + webhooks+: [ + orgs.newOrgWebhook('https://ci.eclipse.org/mat/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + _repositories+:: [ + orgs.newRepo('mat') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + }, + orgs.newRepo('mat-website') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + enabled: false, + }, + }, + ], +}