From 6c4d95406f677cca1568db3e06696df198d4145f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 28 Jun 2023 01:52:49 +0800 Subject: [PATCH] workflow: optimize pr check --- .github/workflows/pr-check-title.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-check-title.yml b/.github/workflows/pr-check-title.yml index 3d269a66..8521a74c 100644 --- a/.github/workflows/pr-check-title.yml +++ b/.github/workflows/pr-check-title.yml @@ -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/"