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.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .copier/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -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