Skip to content

feat: 添加根据机型和可用区获取支持的磁盘类型列表接口 #797

feat: 添加根据机型和可用区获取支持的磁盘类型列表接口

feat: 添加根据机型和可用区获取支持的磁盘类型列表接口 #797

Workflow file for this run

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