mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
chore(ci): 更新工作流以支持条件徽章更新
- 修改了许可证扫描器的徽章更新逻辑 - 添加了 [release ci] 提交消息条件检查 - 确保仅在特定提交标记时更新徽章状态
This commit is contained in:
parent
7d6ec71989
commit
c1f906af61
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user