chore(ci): 添加Feluda许可证扫描器不兼容许可证检查

- 在CI工作流中集成Feluda许可证扫描器
- 配置不兼容许可证检测功能
- 设置许可证扫描仅在推送到main分支时更新徽章
This commit is contained in:
GeWuYou 2026-02-02 20:24:59 +08:00
parent 6bc11de132
commit 43f6280ff8

View File

@ -94,6 +94,7 @@ jobs:
fail-on-incompatible: false
verbose: true
update-badge: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
- name: Feluda License Scanner Incompatible Licenses
run: |
feluda --incompatible