From a16a313f7161d76340f78c810e3b11bba77943f8 Mon Sep 17 00:00:00 2001 From: Marco Pasqualetti <24919330+marcalexiei@users.noreply.github.com> Date: Mon, 27 Jan 2025 01:11:11 +0100 Subject: [PATCH] ci(pr-title-checker): test type is marked as invalid (#432) --- .github/workflows/pr-title-checker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-title-checker.yml b/.github/workflows/pr-title-checker.yml index 8ea12220..635a5bb4 100644 --- a/.github/workflows/pr-title-checker.yml +++ b/.github/workflows/pr-title-checker.yml @@ -25,7 +25,7 @@ jobs: # @warning Keep in sync with apps/documentation/src/routes/documentation/contributing/pull-requests.mdx run: | VALID_COMMIT_TYPES="chore|ci|docs|feat|fix|refactor|test" - REGEX="^${VALID_COMMIT_TYPES})(\(.*\))?!?: .*" + REGEX="^(${VALID_COMMIT_TYPES})(\(.*\))?!?: .*" if ! [[ $PR_TITLE =~ $REGEX ]]; then echo "::error title=Type::The title has an incorrect type. Valid types are ${VALID_COMMIT_TYPES}"