🔧 fix(workflows): pattern build=🏗️ build(:|:) instead of 🏗️ build(:|:)

This commit is contained in:
Eshan Roy (Eshanized)
2024-06-16 02:06:35 +05:30
parent 11f16e13a8
commit b3e20d7085

View File

@@ -28,7 +28,7 @@ jobs:
for type in "${conventional_types[@]}"; do for type in "${conventional_types[@]}"; do
echo "Searching for pattern: ${commit_emojis[$type]} ${type}(:|:)" 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" echo "Conventional commit message found: $LATEST_COMMIT_MESSAGE"
exit 0 exit 0
fi fi