mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
chore(workflow): 调整许可证检查工作流配置
移除硬编码的update-badge选项,改用条件表达式控制仅在main分支push时更新徽章, 确保许可证检查徽章只在主分支推送时自动更新
This commit is contained in:
parent
09e194a2bf
commit
01a88cc223
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -92,7 +92,6 @@ jobs:
|
||||
project-license: 'Apache-2.0'
|
||||
fail-on-restrictive: true
|
||||
fail-on-incompatible: true
|
||||
update-badge: true
|
||||
update-badge: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||
|
||||
# 构建项目,使用Release配置且跳过恢复步骤
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user