2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 12:40:25 +08:00

workflow: optimize pr check

This commit is contained in:
耗子
2023-06-28 01:52:49 +08:00
parent 4f5c6f3afe
commit 6c4d95406f

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)\(\w+\)?!?:\s.+$|^Merge\s.+$"
regexp: "^(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release|revert)\\(.+\\)?!?:\\s.+$|^Merge\\s.+$"
helpMessage: "Your PR title is invalid. Please follow the Conventional Commits specification: https://www.conventionalcommits.org/zh-hans/v1.0.0/"