mirror of
https://github.com/Snigdha-OS/snigdhaos-arctic.git
synced 2025-09-21 12:05:01 +02:00
🔧 fix(workflows): shell option to bash and removed the -e flag
This commit is contained in:
4
.github/workflows/commit.yml
vendored
4
.github/workflows/commit.yml
vendored
@@ -28,8 +28,8 @@ jobs:
|
||||
|
||||
for type in "${conventional_types[@]}"; do
|
||||
pattern="${commit_emojis[$type]} ${type}"
|
||||
echo "Searching for pattern: $pattern(:|:)?"
|
||||
if echo "$LATEST_COMMIT_MESSAGE" | grep -qE "^$pattern(:|:)?" ; then
|
||||
echo "Searching for pattern: $pattern(:|)?"
|
||||
if echo "$LATEST_COMMIT_MESSAGE" | grep -qE "^$pattern(:|)?"; then
|
||||
echo "Conventional commit message found: $LATEST_COMMIT_MESSAGE"
|
||||
exit 0
|
||||
fi
|
||||
|
Reference in New Issue
Block a user