mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-04-12 06:07:37 +07:00
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:
2
.github/workflows/sync_docs_analyze.yml
vendored
2
.github/workflows/sync_docs_analyze.yml
vendored
@@ -2,7 +2,7 @@ name: Analyze Documentation Changes
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
types: [opened, reopened]
|
||||
paths:
|
||||
- 'docs.json'
|
||||
- 'en/**/*.md'
|
||||
|
||||
Reference in New Issue
Block a user