Gu 25fc4fcff0 fix: prevent race condition properly while maintaining security
Instead of removing 'synchronize' trigger from analyze workflow (which is
needed for security checks), we now make the execute workflow skip when:
- It's an incremental update (synchronize event)
- AND a translation branch already exists

This ensures:
- Security checks always run (analyze workflow on all PR events)
- No race condition (execute skips, update handles incremental changes)
- Initial PRs still work (execute runs when no translation branch exists)

The logic:
- PR opened/reopened: analyze → execute → create new translation PR
- PR synchronized: analyze (security) + update → update existing translation PR
  - Execute workflow sees incremental=true + branch_exists=true and skips
2025-11-06 07:10:31 -08:00
2025-10-28 05:58:30 -07:00
2025-10-28 05:58:30 -07:00
2025-10-28 05:58:30 -07:00
2025-10-28 05:58:30 -07:00
2025-10-28 05:58:30 -07:00
2025-10-28 05:58:30 -07:00
2025-05-29 11:21:19 +08:00
2025-10-28 05:58:30 -07:00
2025-10-30 08:15:54 -07:00
2025-09-28 18:38:54 +08:00
2025-03-11 15:26:25 +08:00
.
2025-08-17 19:07:46 -07:00
2025-03-11 15:26:25 +08:00
2025-04-24 17:16:59 +08:00
2025-04-02 11:35:34 +08:00
Description
No description provided
CC-BY-4.0 292 MiB
Languages
MDX 90.5%
Python 9.3%
HTML 0.2%