diff --git a/.gitea/workflows/code-review.yml b/.gitea/workflows/code-review.yml index fcc59cdad..07daa8bd5 100644 --- a/.gitea/workflows/code-review.yml +++ b/.gitea/workflows/code-review.yml @@ -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 -