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

- 移除对 CI 构建测试工作流完成的依赖触发
- 为 GitHub Release 上传步骤添加标签名称参数
- 简化推送事件触发条件,移除通配符标签匹配
- 保留内容写入权限配置
This commit is contained in:
GeWuYou 2026-02-07 00:40:17 +08:00
parent e57597146f
commit 2b5610a659

View File

@ -4,10 +4,6 @@ on:
push:
tags:
- '*'
workflow_run:
workflows: ["CI - Build & Test"]
types:
- completed
permissions:
contents: write
@ -91,6 +87,7 @@ jobs:
- name: Upload compliance assets to GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
files: |
NOTICE
THIRD_PARTY_LICENSES.md