From ee7b2147f7139061706621d2c3775c8f352e755f Mon Sep 17 00:00:00 2001 From: Aaron Berdy Date: Wed, 22 Nov 2023 11:18:48 -0800 Subject: [PATCH] regex fix pt 2 --- .github/workflows/code-freeze.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-freeze.yml b/.github/workflows/code-freeze.yml index 4a1a9c5fd..669ddb880 100644 --- a/.github/workflows/code-freeze.yml +++ b/.github/workflows/code-freeze.yml @@ -32,7 +32,7 @@ jobs: echo $BRANCH_NAME echo $PR_TITLE - if ! [[ "$PR_TITLE" =~ ^fix\(critical\): ]]; then + if ! [[ "$PR_TITLE" == fix\(critical\):* ]]; then if [[ -z $UNFROZEN_PREFIX ]]; then echo "Error: You can only merge PRs titled with prefix 'fix(critical): '."