fix(ci): P0-2 code-review checkout改用tarball+5次重试,替代actions/checkout@v3 #635

Merged
xiaoxia merged 3 commits from fix/ci-p02-checkout-retry into develop 2026-07-20 14:13:52 +08:00
+3 -2
View File
@@ -20,7 +20,8 @@ jobs:
if: ${{ !gitea.event.pull_request.draft }}
steps:
- name: Checkout
# actions/checkout 由 runner 在宿主机层面处理,不受容器网络影响
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -51,6 +52,7 @@ jobs:
python3 scripts/ci_code_review.py
# 审查脚本异常不影响 CI 通过
continue-on-error: true
- name: Report CI trace
if: always()
shell: sh
@@ -62,4 +64,3 @@ jobs:
START_TIME=""
[ -f /tmp/ci_job_start_time ] && START_TIME=$(cat /tmp/ci_job_start_time)
python3 scripts/ci/ci_trace_report.py --service xiaoxia-saas-ci --status $STATUS --start-time "$START_TIME" || true