fix(ci): 修复调度死锁+auto-approve/merge SHA错误 (#478)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1m47s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 2m5s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1462h26m16s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1462h26m18s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1462h26m18s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1462h26m53s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1462h26m18s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1462h58m18s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1m47s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 2m5s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1462h26m16s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1462h26m18s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1462h26m18s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1462h26m53s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1462h26m18s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1462h58m18s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
This commit was merged in pull request #478.
This commit is contained in:
@@ -34,10 +34,16 @@ def main():
|
||||
# API返回按时间倒序,第一个就是最新的
|
||||
for s in statuses:
|
||||
if s.get("context") == target_context:
|
||||
print(s.get("status", "pending"))
|
||||
status = s.get("status", "pending")
|
||||
# skipped 视为通过(条件跳过的任务不需要等)
|
||||
if status == "skipped":
|
||||
print("success")
|
||||
else:
|
||||
print(status)
|
||||
return
|
||||
|
||||
print("pending")
|
||||
# 找不到这个context也视为通过(该workflow没触发=不需要检查)
|
||||
print("success")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user