fix(ci): 修复工作流中的许可证扫描配置

- 修正了更新徽章条件中的提交消息检查语法
- 修复了 GitHub Actions 工作流表达式以正确匹配提交信息
This commit is contained in:
GeWuYou 2026-02-02 21:03:25 +08:00
parent c1f906af61
commit 6226ba0ec0

View File

@ -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