Skip to content

Commit 7e43304

Browse files
committed
chore(copier): add main copier config to tooling repo
1 parent cc08dbd commit 7e43304

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

.copier/workflows/main.yaml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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+
- "**/.env"
20+
- "**/.env.*"
21+
- "**/node_modules/**"
22+
- "**/.DS_Store"
23+
- "**/coverage/**"
24+
- "**/__pycache__/**"
25+
- "**/*.pyc"
26+
27+
# ============================================================================
28+
# WORKFLOW CONFIG REFERENCES
29+
# ============================================================================
30+
# App will auto-discover installation ID for source repo, then fetch the workflow config
31+
32+
workflow_configs:
33+
34+
# --------------------------------------------------------------------------
35+
# SAMPLE APPS
36+
# --------------------------------------------------------------------------
37+
- source: "repo"
38+
repo: "mongodb/docs-sample-apps"
39+
branch: "main" # optional, defaults to main
40+
path: ".copier/workflows.yaml"
41+
enabled: true
42+
43+
# --------------------------------------------------------------------------
44+
# MONOREPO
45+
# --------------------------------------------------------------------------
46+
- source: "repo"
47+
repo: "10gen/docs-mongodb-internal"
48+
branch: "main"
49+
path: ".copier/workflows.yaml"
50+
enabled: true
51+
52+
# --------------------------------------------------------------------------
53+
# DOCS CODE EXAMPLES (DISABLED)
54+
# --------------------------------------------------------------------------
55+
- source: "repo"
56+
repo: "mongodb/docs-code-examples"
57+
branch: "main"
58+
path: ".copier/workflows.yaml"
59+
enabled: false
60+
61+
# --------------------------------------------------------------------------
62+
# ** TESTING **
63+
# --------------------------------------------------------------------------
64+
- source: "repo"
65+
repo: "cbullinger/aggregation-tasks"
66+
branch: "main"
67+
path: "copier-config.yaml"
68+
enabled: true

0 commit comments

Comments
 (0)