Skip to content

Commit d325fdd

Browse files
authored
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
1 parent 36f2a62 commit d325fdd

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/i18n.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: 'Auto-translate Documentation'
22

3+
# Temporarily disabled
34
on:
4-
push:
5-
branches: [ staging ]
6-
paths:
7-
- 'apps/docs/content/docs/en/**'
8-
- 'apps/docs/i18n.json'
9-
workflow_dispatch: # Allow manual triggers
5+
workflow_dispatch: # Allow manual triggers only
6+
# push:
7+
# branches: [ staging ]
8+
# paths:
9+
# - 'apps/docs/content/docs/en/**'
10+
# - 'apps/docs/i18n.json'
1011

1112
permissions:
1213
contents: write

apps/docs/i18n.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"content/docs/[locale]/*.mdx",
1212
"content/docs/[locale]/*/*.mdx",
1313
"content/docs/[locale]/*/*/*.mdx"
14-
]
14+
],
15+
"exclude": ["content/docs/[locale]/sdks/*.mdx"]
1516
}
1617
}
1718
}

0 commit comments

Comments
 (0)