fix: 修复客户端密钥使用一个星号作为关联规则时,没有权限拉取文件 --bug=132594799 #686
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr-lint | |
on: [pull_request] | |
jobs: | |
PR-format-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check PR naming convention | |
run: | | |
title="${{ github.event.pull_request.title }}" | |
pattern="^(feat|fix|docs|style|refactor|perf|test|chore|revert|build|ci): .*" | |
if [[ ! $title =~ $pattern ]]; then | |
echo "PR title does not match naming convention. Example: 'feat: 添加新功能'.\ | |
You can refer to this address for details:\ | |
https://github.com/TencentBlueKing/bk-bcs/blob/master/docs/specification/commit-spec.md" | |
exit 1 | |
fi |