From 7e43304586eab1bd78aac502e6708ffdbfbd2540 Mon Sep 17 00:00:00 2001 From: Cory Bullinger Date: Wed, 19 Nov 2025 09:11:05 -0500 Subject: [PATCH 1/4] chore(copier): add main copier config to tooling repo --- .copier/workflows/main.yaml | 68 +++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .copier/workflows/main.yaml diff --git a/.copier/workflows/main.yaml b/.copier/workflows/main.yaml new file mode 100644 index 0000000..29bd6fe --- /dev/null +++ b/.copier/workflows/main.yaml @@ -0,0 +1,68 @@ +# Main Configuration File for the Dev Docs Copier App +# This is the central config file that references individual workflow configs +# Specified in app's env.yaml as MAIN_CONFIG_FILE + +# ============================================================================ +# GLOBAL DEFAULTS +# ============================================================================ +# These defaults apply to all workflows across all workflow config files +# unless overridden at the workflow config level or individual workflow level + +defaults: + commit_strategy: + type: "pull_request" + auto_merge: false + deprecation_check: + enabled: true + file: "deprecated_examples.json" + exclude: + - "**/.env" + - "**/.env.*" + - "**/node_modules/**" + - "**/.DS_Store" + - "**/coverage/**" + - "**/__pycache__/**" + - "**/*.pyc" + +# ============================================================================ +# WORKFLOW CONFIG REFERENCES +# ============================================================================ +# App will auto-discover installation ID for source repo, then fetch the workflow config + +workflow_configs: + + # -------------------------------------------------------------------------- + # SAMPLE APPS + # -------------------------------------------------------------------------- + - source: "repo" + repo: "mongodb/docs-sample-apps" + branch: "main" # optional, defaults to main + path: ".copier/workflows.yaml" + enabled: true + + # -------------------------------------------------------------------------- + # MONOREPO + # -------------------------------------------------------------------------- + - source: "repo" + repo: "10gen/docs-mongodb-internal" + branch: "main" + path: ".copier/workflows.yaml" + enabled: true + + # -------------------------------------------------------------------------- + # DOCS CODE EXAMPLES (DISABLED) + # -------------------------------------------------------------------------- + - source: "repo" + repo: "mongodb/docs-code-examples" + branch: "main" + path: ".copier/workflows.yaml" + enabled: false + + # -------------------------------------------------------------------------- + # ** TESTING ** + # -------------------------------------------------------------------------- + - source: "repo" + repo: "cbullinger/aggregation-tasks" + branch: "main" + path: "copier-config.yaml" + enabled: true \ No newline at end of file From 9fe27075c3238a6aefc7100eeaedd839d8f40dca Mon Sep 17 00:00:00 2001 From: cory <115956901+cbullinger@users.noreply.github.com> Date: Wed, 19 Nov 2025 10:17:26 -0500 Subject: [PATCH 2/4] Update .copier/workflows/main.yaml --- .copier/workflows/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.copier/workflows/main.yaml b/.copier/workflows/main.yaml index 29bd6fe..bd960bf 100644 --- a/.copier/workflows/main.yaml +++ b/.copier/workflows/main.yaml @@ -16,6 +16,8 @@ defaults: enabled: true file: "deprecated_examples.json" exclude: + - "**/dist/**" + - "**/build/**" - "**/.env" - "**/.env.*" - "**/node_modules/**" From 21a6f31622ce219770b4db66648f87fd387a399b Mon Sep 17 00:00:00 2001 From: cory <115956901+cbullinger@users.noreply.github.com> Date: Wed, 19 Nov 2025 10:17:44 -0500 Subject: [PATCH 3/4] Update .copier/workflows/main.yaml --- .copier/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.copier/workflows/main.yaml b/.copier/workflows/main.yaml index bd960bf..9c07f98 100644 --- a/.copier/workflows/main.yaml +++ b/.copier/workflows/main.yaml @@ -16,8 +16,8 @@ defaults: enabled: true file: "deprecated_examples.json" exclude: - - "**/dist/**" - - "**/build/**" + - "**/dist/**" + - "**/build/**" - "**/.env" - "**/.env.*" - "**/node_modules/**" From 70aeaf754c032ab6f917c53a3cde7317ef452624 Mon Sep 17 00:00:00 2001 From: cory <115956901+cbullinger@users.noreply.github.com> Date: Wed, 19 Nov 2025 10:18:04 -0500 Subject: [PATCH 4/4] Update .copier/workflows/main.yaml --- .copier/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.copier/workflows/main.yaml b/.copier/workflows/main.yaml index 9c07f98..3bfcffd 100644 --- a/.copier/workflows/main.yaml +++ b/.copier/workflows/main.yaml @@ -16,8 +16,8 @@ defaults: enabled: true file: "deprecated_examples.json" exclude: - - "**/dist/**" - - "**/build/**" + - "**/dist/**" + - "**/build/**" - "**/.env" - "**/.env.*" - "**/node_modules/**"