chore(workflow): 更新许可证合规工作流配置

- 移除条件检查逻辑以简化工作流触发
- 修改许可证徽章更新条件为标签版本发布
- 精简工作流步骤配置
This commit is contained in:
GeWuYou 2026-02-07 09:45:31 +08:00
parent 177552a730
commit bcb82b1473

View File

@ -11,10 +11,6 @@ permissions:
jobs:
compliance:
runs-on: ubuntu-latest
if: >
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'main'&&
contains(github.event.workflow_run.head_commit.message, '[release ci]')
steps:
- name: Checkout repository
uses: actions/checkout@v6
@ -31,7 +27,7 @@ jobs:
project-license: 'Apache-2.0'
fail-on-restrictive: false
fail-on-incompatible: false
update-badge: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
update-badge: startsWith(github.ref, 'refs/tags/v')
- name: Feluda License Scanner Incompatible Licenses
run: |
feluda --incompatible