Skip to content

Commit 9b15dff

Browse files
committed
ci: 更新 OSS 许可证工作流中分支命名规则
- 修改了 update-oss-licenses-dist.yml 文件中的 branch 参数 -移除了对文件路径中的 '/'进行替换的操作 -简化了分支命名规则,提高了可读性和易维护性
1 parent 7a619f6 commit 9b15dff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-oss-licenses-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ jobs:
6868
with:
6969
title: '更新开源许可证信息(${{ matrix.file }})'
7070
body: '自动化更新 ${{ matrix.file }}'
71-
branch: 'update-licenses-${{ matrix.file | replace: '/', '-' }}'
71+
branch: 'update-licenses-${{ matrix.file }}'
7272
commit-message: 'Update ${{ matrix.file }}'
7373
labels: 'auto-generated'

0 commit comments

Comments
 (0)