From ed2b8b675c246186ab6b24e5f8f068e6ee14c299 Mon Sep 17 00:00:00 2001 From: Victor Vargas Date: Sun, 2 Aug 2026 23:07:35 -0700 Subject: [PATCH] fix(ci): quote pattern in release-commit check --- .forgejo/workflows/bump-version.yml | 2 +- .github/workflows/bump-version.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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