From 39fb485a3c38ffc11c2d71008d7113cab504c303 Mon Sep 17 00:00:00 2001 From: eclipse-langium-bot <150659361+eclipse-langium-bot@users.noreply.github.com> Date: Mon, 13 Nov 2023 12:05:00 +0100 Subject: [PATCH] Updating file 'otterdog/eclipse-langium.jsonnet' with otterdog. --- otterdog/eclipse-langium.jsonnet | 109 +++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 otterdog/eclipse-langium.jsonnet diff --git a/otterdog/eclipse-langium.jsonnet b/otterdog/eclipse-langium.jsonnet new file mode 100644 index 0000000..6300b10 --- /dev/null +++ b/otterdog/eclipse-langium.jsonnet @@ -0,0 +1,109 @@ +local orgs = import 'vendor/otterdog-defaults/otterdog-defaults.libsonnet'; + +orgs.newOrg('eclipse-langium') { + settings+: { + dependabot_security_updates_enabled_for_new_repositories: false, + description: "", + members_can_change_project_visibility: false, + members_can_change_repo_visibility: false, + members_can_create_teams: false, + members_can_delete_repositories: false, + name: "Eclipse Langium", + packages_containers_internal: false, + packages_containers_public: false, + readers_can_create_discussions: true, + two_factor_requirement: false, + web_commit_signoff_required: false, + workflows+: { + actions_can_approve_pull_request_reviews: false, + }, + }, + _repositories+:: [ + orgs.newRepo('langium') { + allow_update_branch: false, + delete_branch_on_merge: false, + description: "Next-gen language engineering / DSL framework", + has_discussions: true, + has_projects: false, + has_wiki: false, + homepage: "https://langium.org/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + squash_merge_commit_title: "PR_TITLE", + topics+: [ + "domain-specific-language", + "dsl", + "language-engineering", + "language-server-protocol", + "typescript", + "vscode" + ], + web_commit_signoff_required: false, + workflows+: { + actions_can_approve_pull_request_reviews: false, + }, + webhooks: [ + orgs.newRepoWebhook('https://services.gitpod.io/apps/ghe/') { + content_type: "json", + events+: [ + "push" + ], + secret: "********", + }, + ], + secrets: [ + orgs.newRepoSecret('NPM_TOKEN') { + value: "********", + }, + orgs.newRepoSecret('OVSX_TOKEN') { + value: "********", + }, + orgs.newRepoSecret('VSCE_TOKEN') { + value: "********", + }, + ], + branch_protection_rules: [ + orgs.newBranchProtectionRule('main') { + required_approving_review_count: 1, + }, + ], + }, + orgs.newRepo('langium-website') { + allow_update_branch: false, + delete_branch_on_merge: false, + dependabot_alerts_enabled: false, + description: "Source of langium.org", + gh_pages_build_type: "workflow", + has_projects: false, + has_wiki: false, + homepage: "https://langium.org/", + secret_scanning: "disabled", + secret_scanning_push_protection: "disabled", + topics+: [ + "documentation", + "language-engineering", + "language-server-protocol", + "website" + ], + web_commit_signoff_required: false, + workflows+: { + actions_can_approve_pull_request_reviews: false, + }, + branch_protection_rules: [ + orgs.newBranchProtectionRule('main') { + required_approving_review_count: 1, + requires_status_checks: false, + requires_strict_status_checks: true, + }, + ], + environments: [ + orgs.newEnvironment('github-pages') { + branch_policies+: [ + "main" + ], + deployment_branch_policy: "selected", + }, + ], + }, + ], +}