fix(ci): 移除 e2e-health push 觸發 — 根治「每 commit 兩個 run」問題
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
根本原因: cd.yaml + e2e-health.yaml 都監聽 push main → 每次 push 產生兩個 run,互相 cancel,code commit 被跳過 解法: e2e-health.yaml 移除 push trigger,只保留排程(每日00:00)和手動觸發 CD 本身已有 smoke test,E2E 不需要每次 push 重複跑 Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
name: E2E Health Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 16 * * *' # 每日 00:00 台北 (UTC+8)
|
||||
# push 觸發已移除 (2026-04-02): E2E health check 不需要每次 push 都跑
|
||||
# CD pipeline 本身已有 smoke test;E2E 用排程或手動觸發即可
|
||||
|
||||
# OTEL CI/CD 監控 (2026-03-31 #46c)
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user