fix: prevent race condition between analyze and update workflows

Remove 'synchronize' from analyze workflow triggers to prevent both
analyze→execute and update workflows from running simultaneously when
a PR is updated.

Now:
- opened/reopened → analyze → execute (create new translation PR)
- synchronize → update (update existing translation PR incrementally)
This commit is contained in:
Gu
2025-11-06 07:00:31 -08:00
parent 90c8345d74
commit 6f29c102b4

View File

@@ -2,7 +2,7 @@ name: Analyze Documentation Changes
on:
pull_request:
types: [opened, synchronize, reopened]
types: [opened, reopened]
paths:
- 'docs.json'
- 'en/**/*.md'