WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Commit 7e44a9a

Browse files
authored
Merge pull request #95 from mongodb/add-copier-config
Add main copier config to tooling repo
2 parents d88ff73 + 70aeaf7 commit 7e44a9a

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

.copier/workflows/main.yaml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Main Configuration File for the Dev Docs Copier App
2+
# This is the central config file that references individual workflow configs
3+
# Specified in app's env.yaml as MAIN_CONFIG_FILE
4+
5+
# ============================================================================
6+
# GLOBAL DEFAULTS
7+
# ============================================================================
8+
# These defaults apply to all workflows across all workflow config files
9+
# unless overridden at the workflow config level or individual workflow level
10+
11+
defaults:
12+
commit_strategy:
13+
type: "pull_request"
14+
auto_merge: false
15+
deprecation_check:
16+
enabled: true
17+
file: "deprecated_examples.json"
18+
exclude:
19+
- "**/dist/**"
20+
- "**/build/**"
21+
- "**/.env"
22+
- "**/.env.*"
23+
- "**/node_modules/**"
24+
- "**/.DS_Store"
25+
- "**/coverage/**"
26+
- "**/__pycache__/**"
27+
- "**/*.pyc"
28+
29+
# ============================================================================
30+
# WORKFLOW CONFIG REFERENCES
31+
# ============================================================================
32+
# App will auto-discover installation ID for source repo, then fetch the workflow config
33+
34+
workflow_configs:
35+
36+
# --------------------------------------------------------------------------
37+
# SAMPLE APPS
38+
# --------------------------------------------------------------------------
39+
- source: "repo"
40+
repo: "mongodb/docs-sample-apps"
41+
branch: "main" # optional, defaults to main
42+
path: ".copier/workflows.yaml"
43+
enabled: true
44+
45+
# --------------------------------------------------------------------------
46+
# MONOREPO
47+
# --------------------------------------------------------------------------
48+
- source: "repo"
49+
repo: "10gen/docs-mongodb-internal"
50+
branch: "main"
51+
path: ".copier/workflows.yaml"
52+
enabled: true
53+
54+
# --------------------------------------------------------------------------
55+
# DOCS CODE EXAMPLES (DISABLED)
56+
# --------------------------------------------------------------------------
57+
- source: "repo"
58+
repo: "mongodb/docs-code-examples"
59+
branch: "main"
60+
path: ".copier/workflows.yaml"
61+
enabled: false
62+
63+
# --------------------------------------------------------------------------
64+
# ** TESTING **
65+
# --------------------------------------------------------------------------
66+
- source: "repo"
67+
repo: "cbullinger/aggregation-tasks"
68+
branch: "main"
69+
path: "copier-config.yaml"
70+
enabled: true

0 commit comments

Comments
 (0)