From c1f906af617b0bf99015fc1648295dd9b3d84957 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Mon, 2 Feb 2026 21:01:22 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20=E6=9B=B4=E6=96=B0=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E4=BB=A5=E6=94=AF=E6=8C=81=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E5=BE=BD=E7=AB=A0=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改了许可证扫描器的徽章更新逻辑 - 添加了 [release ci] 提交消息条件检查 - 确保仅在特定提交标记时更新徽章状态 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a8146d..e6a164f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,7 @@ jobs: fail-on-restrictive: false fail-on-incompatible: false verbose: true - update-badge: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + update-badge: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(github.event.workflow_run.head_commit.message, '[release ci] }} - name: Feluda License Scanner Incompatible Licenses run: | feluda --incompatible