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