mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
chore(workflow): 更新许可证合规工作流配置
- 移除条件检查逻辑以简化工作流触发 - 修改许可证徽章更新条件为标签版本发布 - 精简工作流步骤配置
This commit is contained in:
parent
177552a730
commit
bcb82b1473
6
.github/workflows/license-compliance.yml
vendored
6
.github/workflows/license-compliance.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user