From c3c062415894c43f3f15bb4420dab117a691b27e Mon Sep 17 00:00:00 2001 From: Andrea Morabito Date: Thu, 14 Nov 2024 15:31:23 +0100 Subject: [PATCH] fix regex --- .github/workflows/pr-validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 48cb345..a08c30a 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -30,7 +30,7 @@ jobs: feat breaking requireScope: false - subjectPattern: ^[A-Z].+$ + subjectPattern: '\[SRTP(-[0-9]{2,4})?\] .+' subjectPatternError: | The subject "{subject}" found in the pull request title "{title}" doesn't match the configured pattern. Please ensure that the subject