2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 22:07:16 +08:00

workflow: optimize pr check

This commit is contained in:
耗子
2023-06-28 01:55:24 +08:00
parent 6c4d95406f
commit f972f849ae

View File

@@ -7,5 +7,5 @@ jobs:
steps:
- uses: Slashgear/action-check-pr-title@v4.3.0
with:
regexp: "^(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release|revert)\\(.+\\)?!?:\\s.+$|^Merge\\s.+$"
regexp: "^(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release|revert)(\\(.+\\))?!?: .+$|^Merge .+$"
helpMessage: "Your PR title is invalid. Please follow the Conventional Commits specification: https://www.conventionalcommits.org/zh-hans/v1.0.0/"