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