From 5e1a0e0585ada2cf25d74506efd5a080f53d14a0 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 20 Jul 2026 19:57:13 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20code-review=20checkout=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=87=8D=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/code-review.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/code-review.yml b/.gitea/workflows/code-review.yml index 07daa8bd5..b961b9971 100644 --- a/.gitea/workflows/code-review.yml +++ b/.gitea/workflows/code-review.yml @@ -25,6 +25,10 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + # 网络波动自动重试2次 + retry: + max_attempts: 2 + retry_on: error - name: Install dependencies run: | @@ -64,3 +68,4 @@ 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 +