fix: update workflow paths to use zh/ja instead of cn/jp

Aligns workflow trigger paths with the zh/ja language directory rename.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Gu
2025-11-27 09:30:58 -08:00
parent 4abdd69fd2
commit 9587b7cc5d

View File

@@ -6,18 +6,18 @@ on:
types: [opened, synchronize, reopened]
paths:
# IMPORTANT: These paths should match the language directories defined in tools/translate/config.json
# Currently configured for: en (source), cn, jp (targets)
# Currently configured for: en (source), zh, ja (targets)
# If you add/remove languages in config.json, update these paths accordingly
- 'docs.json'
- 'en/**/*.md'
- 'en/**/*.mdx'
- 'en/**/openapi*.json'
- 'cn/**/*.md'
- 'cn/**/*.mdx'
- 'cn/**/openapi*.json'
- 'jp/**/*.md'
- 'jp/**/*.mdx'
- 'jp/**/openapi*.json'
- 'zh/**/*.md'
- 'zh/**/*.mdx'
- 'zh/**/openapi*.json'
- 'ja/**/*.md'
- 'ja/**/*.mdx'
- 'ja/**/openapi*.json'
- 'versions/**/*.md'
- 'versions/**/*.mdx'