From 6226ba0ec07268703812d9863802e38211b1950e Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Mon, 2 Feb 2026 21:03:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E4=B8=AD=E7=9A=84=E8=AE=B8=E5=8F=AF=E8=AF=81=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修正了更新徽章条件中的提交消息检查语法 - 修复了 GitHub Actions 工作流表达式以正确匹配提交信息 --- .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 e6a164f..85d5a02 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' && contains(github.event.workflow_run.head_commit.message, '[release ci] }} + update-badge: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[release ci]') }} - name: Feluda License Scanner Incompatible Licenses run: | feluda --incompatible