From 50726263c756df3a360b064fe6ba7c18d97e43da Mon Sep 17 00:00:00 2001 From: ee4j-bot <38781938+ee4j-bot@users.noreply.github.com> Date: Wed, 25 Oct 2023 20:18:50 +0200 Subject: [PATCH] Initial import. --- otterdog/eclipse-ee4j.jsonnet | 2648 +++++++++++++++++++++++++++++++++ 1 file changed, 2648 insertions(+) create mode 100644 otterdog/eclipse-ee4j.jsonnet diff --git a/otterdog/eclipse-ee4j.jsonnet b/otterdog/eclipse-ee4j.jsonnet new file mode 100644 index 0000000..c384032 --- /dev/null +++ b/otterdog/eclipse-ee4j.jsonnet @@ -0,0 +1,2648 @@ +local orgs = import 'vendor/otterdog-defaults/otterdog-defaults.libsonnet'; + +orgs.newOrg('eclipse-ee4j') { + settings+: { + blog: "https://projects.eclipse.org/projects/ee4j", + dependabot_alerts_enabled_for_new_repositories: false, + dependabot_security_updates_enabled_for_new_repositories: false, + dependency_graph_enabled_for_new_repositories: false, + description: "The Eclipse EE4J Project", + email: "ee4j-community@eclipse.org", + members_can_change_project_visibility: false, + members_can_delete_issues: true, + name: "Eclipse EE4J", + packages_containers_internal: false, + readers_can_create_discussions: true, + two_factor_requirement: false, + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + _repositories+:: [ + orgs.newRepo('.github') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('angus-activation') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Angus Activation", + gh_pages_build_type: "workflow", + homepage: "https://eclipse-ee4j.github.io/angus-activation/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages') { + branch_policies+: [ + "master" + ], + deployment_branch_policy: "selected", + }, + ], + }, + orgs.newRepo('angus-mail') { + allow_merge_commit: true, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Angus Mail", + gh_pages_build_type: "workflow", + has_discussions: true, + homepage: "https://eclipse-ee4j.github.io/angus-mail", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages') { + branch_policies+: [ + "master" + ], + deployment_branch_policy: "selected", + }, + ], + }, + orgs.newRepo('batch-api') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "The Jakarta Batch project produces the Batch Specification and API.", + homepage: "https://projects.eclipse.org/projects/ee4j.batch", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('batch-tck') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "The Jakarta Batch TCK repository contains the Batch TCK.", + homepage: "https://projects.eclipse.org/projects/ee4j.batch", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('bvtck-porting') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Glassfish Bean Validation 2.0 porting kit", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('cargotracker') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "The project demonstrates how you can develop applications with Jakarta EE using widely adopted architectural best practices like Domain-Driven Design (DDD).", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "https://eclipse-ee4j.github.io/cargotracker/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + topics+: [ + "ddd", + "domain-driven-design", + "jakartaee", + "java", + "javaee" + ], + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + secrets: [ + orgs.newRepoSecret('KUBE_CONFIG') { + value: "********", + }, + orgs.newRepoSecret('POSTGRES_PASSWORD') { + value: "********", + }, + orgs.newRepoSecret('POSTGRES_USER') { + value: "********", + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('cdi-cpl') { + archived: true, + default_branch: "1.1.x", + dependabot_alerts_enabled: false, + description: "cdi-cpl", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('cdi-tck-cpl') { + archived: true, + default_branch: "1.0", + dependabot_alerts_enabled: false, + description: "cdi-tck-cpl", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('cditck-porting') { + 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+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('debugging-support-for-other-languages-tck') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('ditck-porting') { + 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+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('eclipselink') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Eclipselink project", + has_discussions: true, + homepage: "https://eclipse.dev/eclipselink/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/eclipselink/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + orgs.newRepoWebhook('https://ci.eclipse.org/eclipselink/ghprbhook/') { + content_type: "json", + events+: [ + "issue_comment", + "pull_request", + "push" + ], + }, + ], + }, + orgs.newRepo('eclipselink-asm') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('eclipselink-build-support') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "eclipselink-build-support", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('eclipselink-examples') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + description: "eclipselink-examples", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('eclipselink-oracleddlparser') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "eclipselink-oracleddlparser", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('eclipselink-releng') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + enabled: false, + }, + }, + orgs.newRepo('eclipselink-website') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + enabled: false, + }, + }, + orgs.newRepo('eclipselink-workbench') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + description: "eclipselink-workbench", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('ee4j') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Eclipse EE4J Top-level Project and community related issues", + has_wiki: false, + homepage: "http://www.eclipse.org/ee4j", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('ee4j-website') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Website for the Eclipse EE4J Top Level Project", + has_projects: false, + has_wiki: false, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('enterprise-deployment') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "enterprise-deployment", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('epicyro') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Epicyro, a Jakarta Authentication implementation", + homepage: "https://projects.eclipse.org/projects/ee4j.epicyro", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/epicyro/github-webhook/') { + content_type: "json", + events+: [ + "issue_comment", + "pull_request", + "push" + ], + }, + ], + }, + orgs.newRepo('epicyro-website') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "epicyro-website", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('exousia') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Exousia, a Jakarta Authorization implementation", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('expressly') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Expressly, a Jakarta Expression Language implementation", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('genericmessagingra') { + 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+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('glassfish') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Eclipse GlassFish", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "https://eclipse-ee4j.github.io/glassfish/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "issue_comment", + "pull_request", + "push" + ], + }, + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/ghprbhook/') { + events+: [ + "issue_comment", + "pull_request" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('glassfish-build-maven-plugin') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "GlassFish Build Maven Plugin", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-cdi-porting-tck') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-concurro') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Eclipse Concurrō project", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "https://projects.eclipse.org/projects/ee4j.glassfish", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('glassfish-copyright-plugin') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-doc-plugin') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('glassfish-docs') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('glassfish-fighterfish') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "FighterFish project", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c73fa069d640c00b') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-ha-api') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "glassfish-ha-api", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-hk2') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Dynamic dependency injection framework", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/docs", + homepage: "https://eclipse-ee4j.github.io/glassfish-hk2", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c73fa069d643c50d') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('glassfish-hk2-extra') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "HK2 extra", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c73ca46fda46c50d') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-jsftemplating') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "JSFTemplating project", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + topics+: [ + "glassfish", + "jsf", + "ui-components" + ], + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c73dac68d04dc605') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-logging-annotation-processor') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-maven-embedded-plugin') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Glassfish maven embedded plugin", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-repackaged') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "GlassFish repackaged 3rd party", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-samples') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('glassfish-security-plugin') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-shoal') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Shoal", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c03ca467d640c50e') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-spec-version-maven-plugin') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "API Specification Version Maven Plugin", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('glassfish-woodstock') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "GlassFish Woodstock UI components", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/glassfish/github-webhook/') { + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('gransasso') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Eclipse Gransasso Repository", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('grizzly') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Grizzly", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/docs", + homepage: "https://eclipse-ee4j.github.io/grizzly", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c139a26bd441c50b') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://notify.travis-ci.org') { + events+: [ + "create", + "delete", + "issue_comment", + "member", + "public", + "pull_request", + "push", + "repository" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('grizzly-ahc') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c73da068d045c40e') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + ], + }, + orgs.newRepo('grizzly-memcached') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Grizzly-memcached", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c23ea767d242c60a') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('grizzly-npn') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Grizzly-npn", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('grizzly-thrift') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Grizzly-thrift", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c23ea766db40c40b') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('jakartaee-examples') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Jakarta EE Examples", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('jakartaee-firstcup') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "First Cup of Jakarta EE Tutorial", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "https://eclipse-ee4j.github.io/jakartaee-firstcup", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://jenkins.eclipse.org/jakartaee-platform/github-webhook/') { + events+: [ + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('jakartaee-firstcup-examples') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('jakartaee-release') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + description: "This repository will be used to help manage the various Jakarta EE releases. No deliverable code will be housed in this repository -- only Issues, PRs, Tools, etc in support of delivering a release", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('jakartaee-renames') { + 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+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('jakartaee-tck-tools') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('jakartaee-tutorial') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Jakarta EE Tutorial", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "https://eclipse-ee4j.github.io/jakartaee-tutorial", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://jenkins.eclipse.org/jakartaee-platform/github-webhook/') { + events+: [ + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('jax-rpc-api') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Jakartaee-stable project", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('jax-rpc-ri') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "JAX RPC Implementation (Eclipse Metro Project)", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('jaxb-dtd-parser') { + allow_merge_commit: true, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 0, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + }, + ], + }, + orgs.newRepo('jaxb-fi') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 0, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + }, + ], + }, + orgs.newRepo('jaxb-istack-commons') { + allow_merge_commit: true, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 0, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + }, + ], + }, + orgs.newRepo('jaxb-ri') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Jaxb RI", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + has_discussions: true, + homepage: "https://eclipse-ee4j.github.io/jaxb-ri/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + topics+: [ + "java", + "xml" + ], + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('jaxb-stax-ex') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 0, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + }, + ], + }, + orgs.newRepo('jaxr-api') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Jakartaee-stable project", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('jaxr-ri') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "JAXR Implementation (Eclipse Metro Project)", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('jersey') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "2.x", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Eclipse Jersey Project - Read our Wiki:", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + has_discussions: true, + homepage: "https://github.com/eclipse-ee4j/jersey/wiki", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c130ac6bd64dc704') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://notify.travis-ci.org') { + events+: [ + "create", + "delete", + "issue_comment", + "member", + "public", + "pull_request", + "push", + "repository" + ], + }, + orgs.newRepoWebhook('https://ci.eclipse.org/jersey/github-webhook/') { + content_type: "json", + events+: [ + "create", + "delete", + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('2.x') { + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('3.0') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('jersey-web') { + archived: true, + default_branch: "master", + dependabot_alerts_enabled: false, + dependabot_security_updates_enabled: true, + description: "The source repository for", + homepage: "https://jersey.github.io", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('jersey.github.io') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Jersey project", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "master", + gh_pages_source_path: "/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('krazo') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + has_discussions: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://notify.travis-ci.org') { + events+: [ + "create", + "delete", + "issue_comment", + "member", + "public", + "pull_request", + "push", + "repository" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: null, + requires_pull_request: false, + }, + orgs.newBranchProtectionRule('release-1.0') { + required_approving_review_count: null, + requires_pull_request: false, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('krazo-extensions') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('management-api') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Jakarta Management", + homepage: "https://projects.eclipse.org/projects/ee4j.jakartaee-stable", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('metro-jax-ws') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "metro-jax-ws", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + has_discussions: true, + homepage: "https://eclipse-ee4j.github.io/metro-jax-ws/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('metro-jwsdp-samples') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + description: "JWSdp samples", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('metro-mimepull') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Metro mimepull", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('metro-package-rename-task') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + description: "Metro package rename", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('metro-policy') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Metro policy", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('metro-saaj') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + gh_pages_build_type: "workflow", + homepage: "https://eclipse-ee4j.github.io/metro-saaj/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + topics+: [ + "java", + "soap", + "xml" + ], + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 0, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 0, + }, + ], + environments: [ + orgs.newEnvironment('github-pages') { + branch_policies+: [ + "master" + ], + deployment_branch_policy: "selected", + }, + ], + }, + orgs.newRepo('metro-ws-test-harness') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Metro test harness", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('metro-wsit') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "metro-wsit", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + has_discussions: true, + homepage: "https://eclipse-ee4j.github.io/metro-wsit/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('metro-xmlstreambuffer') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Metro xmlstreambuffer", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('mojarra') { + allow_merge_commit: true, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Mojarra, a Jakarta Faces implementation", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c130a76bdb47c50d') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://notify.travis-ci.org') { + events+: [ + "create", + "delete", + "issue_comment", + "member", + "public", + "pull_request", + "push", + "repository" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('2.3') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('3.0') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('4.0') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('mojarra-jsf-extensions') { + 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+: { + default_workflow_permissions: "write", + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('odi') { + allow_merge_commit: true, + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Open DI", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('openmq') { + allow_merge_commit: true, + allow_rebase_merge: false, + allow_squash_merge: false, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "OpenMQ", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + has_wiki: false, + homepage: "https://projects.eclipse.org/projects/ee4j.openmq/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c23ea767d046c00d') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://notify.travis-ci.org') { + active: false, + events+: [ + "create", + "delete", + "issue_comment", + "member", + "public", + "pull_request", + "push", + "repository" + ], + }, + orgs.newRepoWebhook('https://ci.eclipse.org/openmq/ghprbhook/') { + content_type: "json", + events+: [ + "issue_comment", + "pull_request", + "push" + ], + }, + orgs.newRepoWebhook('https://ci.eclipse.org/openmq/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('containers') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('gh-pages') { + required_approving_review_count: null, + requires_pull_request: false, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('orb') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Eclipse ORB is a CORBA orb for use in Jakarta EE and GlassFish and other projects that still need an ORB.", + homepage: "https://projects.eclipse.org/projects/ee4j.orb", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + topics+: [ + "corba", + "corba-client", + "corba-giop", + "corba-server" + ], + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/orb/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('orb-gmbal') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/orb/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('orb-gmbal-commons') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/orb/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('orb-gmbal-pfl') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://ci.eclipse.org/orb/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + }, + orgs.newRepo('parsson') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Parsson Project", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + has_discussions: true, + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('soteria') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Soteria, a Jakarta Security implementation", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c03da26cd644c70d') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://notify.travis-ci.org') { + events+: [ + "create", + "delete", + "issue_comment", + "member", + "public", + "pull_request", + "push", + "repository" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + orgs.newBranchProtectionRule('EE4J_8') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('starter') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Eclipse Starter for Jakarta EE", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('tyrus') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Tyrus", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://webhook.zenhub.io/webhook/github/v1/55c23ea767d041c108') { + content_type: "json", + events+: [ + "issue_comment", + "issues", + "label", + "member", + "milestone", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "repository", + "team_add" + ], + secret: "********", + }, + orgs.newRepoWebhook('https://notify.travis-ci.org') { + events+: [ + "create", + "delete", + "issue_comment", + "member", + "public", + "pull_request", + "push", + "repository" + ], + }, + orgs.newRepoWebhook('https://ci.eclipse.org/tyrus/github-webhook/') { + content_type: "json", + events+: [ + "pull_request", + "push" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + dismisses_stale_reviews: true, + required_approving_review_count: 1, + }, + orgs.newBranchProtectionRule('EE4J-8') { + dismisses_stale_reviews: true, + push_restrictions+: [ + "@bravehorsie", + "@m0mus" + ], + required_approving_review_count: 1, + restricts_pushes: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('tyrus-project.github.io') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + description: "tyrus-project.github.io", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "master", + gh_pages_source_path: "/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + orgs.newRepo('wasp') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "WaSP, a Jakarta Pages implementation", + homepage: "", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + }, + orgs.newRepo('yasson') { + allow_merge_commit: true, + allow_update_branch: false, + default_branch: "master", + delete_branch_on_merge: false, + dependabot_security_updates_enabled: true, + description: "Eclipse Yasson project", + gh_pages_build_type: "legacy", + gh_pages_source_branch: "gh-pages", + gh_pages_source_path: "/", + homepage: "https://projects.eclipse.org/projects/ee4j.yasson", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + web_commit_signoff_required: false, + workflows+: { + default_workflow_permissions: "write", + }, + webhooks: [ + orgs.newRepoWebhook('https://notify.travis-ci.org') { + events+: [ + "create", + "delete", + "issue_comment", + "member", + "public", + "pull_request", + "push", + "repository" + ], + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('master') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages'), + ], + }, + ], +}