From b3e20d7085b9f64cb4fce168149431fcd70e92ab Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" <148610067+eshanized@users.noreply.github.com> Date: Sun, 16 Jun 2024 02:06:35 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(workflows):=20pattern=20buil?= =?UTF-8?q?d=3D=F0=9F=8F=97=EF=B8=8F=20build(:|:)=20instead=20of=20?= =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20build(:|:)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 02c171a..fe33c59 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -28,7 +28,7 @@ jobs: for type in "${conventional_types[@]}"; do echo "Searching for pattern: ${commit_emojis[$type]} ${type}(:|:)" - if echo "$LATEST_COMMIT_MESSAGE" | grep -qE "^${commit_emojis[$type]} ${type}(:|:)" ; then + if echo "$LATEST_COMMIT_MESSAGE" | grep -qE "^${commit_emojis[$type]} ${type}(:|:)"; then echo "Conventional commit message found: $LATEST_COMMIT_MESSAGE" exit 0 fi