fix(i18n): exclude SDK files from automatic translation to prevent corruption (#1634)

* fix(i18n): exclude SDK files from automatic translation to prevent corruption

* fix(i18n): temporarily disable auto-translate action while fixing translation corruption

* disable i18n action
This commit is contained in:
Waleed
2025-10-14 19:09:19 -07:00
committed by GitHub
parent 36f2a62f3f
commit d325fdde6c
2 changed files with 9 additions and 7 deletions

View File

@@ -1,12 +1,13 @@
name: 'Auto-translate Documentation' name: 'Auto-translate Documentation'
# Temporarily disabled
on: on:
push: workflow_dispatch: # Allow manual triggers only
branches: [ staging ] # push:
paths: # branches: [ staging ]
- 'apps/docs/content/docs/en/**' # paths:
- 'apps/docs/i18n.json' # - 'apps/docs/content/docs/en/**'
workflow_dispatch: # Allow manual triggers # - 'apps/docs/i18n.json'
permissions: permissions:
contents: write contents: write

View File

@@ -11,7 +11,8 @@
"content/docs/[locale]/*.mdx", "content/docs/[locale]/*.mdx",
"content/docs/[locale]/*/*.mdx", "content/docs/[locale]/*/*.mdx",
"content/docs/[locale]/*/*/*.mdx" "content/docs/[locale]/*/*/*.mdx"
] ],
"exclude": ["content/docs/[locale]/sdks/*.mdx"]
} }
} }
} }