diff options
| author | Adam <[email protected]> | 2026-02-11 11:47:29 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-02-11 11:47:32 -0600 |
| commit | 6b30e0b7528bb467450c20524fdd075b893d9b3c (patch) | |
| tree | 6c7f9ceb9883855bc289222b963d92c0ec3cf0a1 /.github/workflows | |
| parent | fbabce1125005bc4a658401fbbc1c04e50d2f5bc (diff) | |
| download | opencode-6b30e0b7528bb467450c20524fdd075b893d9b3c.tar.gz opencode-6b30e0b7528bb467450c20524fdd075b893d9b3c.zip | |
chore: update docs sync workflow
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/docs-locale-sync.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/docs-locale-sync.yml b/.github/workflows/docs-locale-sync.yml index c97f3e191..8cd0cc52e 100644 --- a/.github/workflows/docs-locale-sync.yml +++ b/.github/workflows/docs-locale-sync.yml @@ -64,10 +64,13 @@ jobs: Requirements: 1. Update all relevant locale docs under packages/web/src/content/docs/<locale>/ so they reflect these English page changes. - 2. Preserve frontmatter keys, internal links, code blocks, and existing locale-specific metadata unless the English change requires an update. - 3. Keep locale docs structure aligned with their corresponding English pages. - 4. Do not modify English source docs in packages/web/src/content/docs/*.mdx. - 5. If no locale updates are needed, make no changes. + 2. You MUST use the Task tool for translation work and launch subagents with subagent_type `translator` (defined in .opencode/agent/translator.md). + 3. Do not translate directly in the primary agent. Use translator subagent output as the source for locale text updates. + 4. Run translator subagent Task calls in parallel whenever file/locale translation work is independent. + 5. Preserve frontmatter keys, internal links, code blocks, and existing locale-specific metadata unless the English change requires an update. + 6. Keep locale docs structure aligned with their corresponding English pages. + 7. Do not modify English source docs in packages/web/src/content/docs/*.mdx. + 8. If no locale updates are needed, make no changes. - name: Commit and push locale docs updates if: steps.changes.outputs.has_changes == 'true' |
