From 6f29c102b4bc12d4ea08b281a714f897fc84c72a Mon Sep 17 00:00:00 2001 From: Gu Date: Thu, 6 Nov 2025 07:00:31 -0800 Subject: [PATCH] fix: prevent race condition between analyze and update workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .github/workflows/sync_docs_analyze.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync_docs_analyze.yml b/.github/workflows/sync_docs_analyze.yml index c632f0dd..3e8ac004 100644 --- a/.github/workflows/sync_docs_analyze.yml +++ b/.github/workflows/sync_docs_analyze.yml @@ -2,7 +2,7 @@ name: Analyze Documentation Changes on: pull_request: - types: [opened, synchronize, reopened] + types: [opened, reopened] paths: - 'docs.json' - 'en/**/*.md'