Skip to content

Commit 6b30e0b

Browse files
committed
chore: update docs sync workflow
1 parent fbabce1 commit 6b30e0b

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/docs-locale-sync.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,13 @@ jobs:
6464
6565
Requirements:
6666
1. Update all relevant locale docs under packages/web/src/content/docs/<locale>/ so they reflect these English page changes.
67-
2. Preserve frontmatter keys, internal links, code blocks, and existing locale-specific metadata unless the English change requires an update.
68-
3. Keep locale docs structure aligned with their corresponding English pages.
69-
4. Do not modify English source docs in packages/web/src/content/docs/*.mdx.
70-
5. If no locale updates are needed, make no changes.
67+
2. You MUST use the Task tool for translation work and launch subagents with subagent_type `translator` (defined in .opencode/agent/translator.md).
68+
3. Do not translate directly in the primary agent. Use translator subagent output as the source for locale text updates.
69+
4. Run translator subagent Task calls in parallel whenever file/locale translation work is independent.
70+
5. Preserve frontmatter keys, internal links, code blocks, and existing locale-specific metadata unless the English change requires an update.
71+
6. Keep locale docs structure aligned with their corresponding English pages.
72+
7. Do not modify English source docs in packages/web/src/content/docs/*.mdx.
73+
8. If no locale updates are needed, make no changes.
7174
7275
- name: Commit and push locale docs updates
7376
if: steps.changes.outputs.has_changes == 'true'

0 commit comments

Comments
 (0)