From 692d0b3c7e2fc1111629b3f72df7e1836902ca7f Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Wed, 2 Sep 2026 12:37:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E5=A4=8D=20tag=20?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=97=B6=20production=20deploy=20=E8=A2=AB?= =?UTF-8?q?=20skipped=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从 build-production needs 移除 frontend-lint(tag事件时被skipped) - if 条件加 !failure() && !cancelled() 确保 skipped 依赖不阻塞生产部署 --- .gitea/workflows/ci-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index 2eec845f7..e79c362d2 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -1412,9 +1412,9 @@ jobs: - validate-security - validate-python - unit-tests - - frontend-lint - frontend-unit-test - if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'push' && github.ref_name == 'main') + if: | + (startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'push' && github.ref_name == 'main')) && !failure() && !cancelled() strategy: fail-fast: false matrix: -- 2.54.0 From 0c636fd913175ebcba9bedda1871b98162a72a4b Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Wed, 2 Sep 2026 12:56:08 +0800 Subject: [PATCH 2/2] chore: trigger CI retry --- .gitea/workflows/ci-pipeline.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index e79c362d2..fa49ec8c7 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -2068,3 +2068,4 @@ jobs: START_TIME="" [ -f /tmp/ci_job_start_time ] && START_TIME=$(cat /tmp/ci_job_start_time) curl -sfH "Authorization: token ${GITHUB_TOKEN:-$GITEA_TOKEN}" -o /tmp/_ci_trace.py "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/raw/scripts/ci/ci_trace_report.py?ref=${GITHUB_SHA}" 2>/dev/null && python3 /tmp/_ci_trace.py --service xiaoxia-saas-ci --status $STATUS --start-time "$START_TIME" || true +# CI retry trigger -- 2.54.0