fix(ci): quote pattern in release-commit check
Some checks failed
bump-version / bump (push) Failing after 2s

This commit is contained in:
Victor Hugo Vargas Servin 2026-08-02 23:07:35 -07:00
parent 6e9211b5a0
commit ed2b8b675c
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ jobs:
- name: Skip if latest commit is already a release commit
run: |
SUBJECT=$(git log -1 --pretty=%s)
if [[ "$SUBJECT" == chore(release):* ]]; then
if [[ "$SUBJECT" == "chore(release):"* ]]; then
echo "Latest commit is a release commit ('$SUBJECT'). Skipping bump to avoid loop."
exit 0
fi

View file

@ -25,7 +25,7 @@ jobs:
- name: Skip if latest commit is already a release commit
run: |
SUBJECT=$(git log -1 --pretty=%s)
if [[ "$SUBJECT" == chore(release):* ]]; then
if [[ "$SUBJECT" == "chore(release):"* ]]; then
echo "Latest commit is a release commit ('$SUBJECT'). Skipping bump to avoid loop."
exit 0
fi