From 692d0b3c7e2fc1111629b3f72df7e1836902ca7f Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Wed, 2 Sep 2026 12:37:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E5=A4=8D=20tag=20=E8=A7=A6?= =?UTF-8?q?=E5=8F=91=E6=97=B6=20production=20deploy=20=E8=A2=AB=20skipped?= =?UTF-8?q?=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: