fix(ci): migration diff step失败不阻断Validate — 加continue-on-error + 2分钟超时
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1511h18m27s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1511h18m29s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1511h18m29s
CI/CD Pipeline / Build Production API Image (push) Failing after 1511h18m29s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1511h50m11s

- Prepare git for migration diff只是准备工作,失败应降级为全量检查
- 加timeout-minutes:2防止git fetch卡住拖慢CI
- continue-on-error:true确保后续migration safety检查正常运行
This commit is contained in:
CI Bot
2026-07-15 16:10:49 +08:00
parent 45e7cfe7c9
commit 0382c4e697
Regular → Executable
+2
View File
@@ -143,6 +143,8 @@ jobs:
'
- name: Prepare git for migration diff
continue-on-error: true
timeout-minutes: 2
shell: sh
env:
GITHUB_TOKEN: ${{ github.token }}