diff --git a/.forgejo/workflows/bump-version.yml b/.forgejo/workflows/bump-version.yml index 0bd7439..96a632b 100644 --- a/.forgejo/workflows/bump-version.yml +++ b/.forgejo/workflows/bump-version.yml @@ -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 diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 0543900..3c86214 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -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