fix(ci): quote pattern in release-commit check
Some checks failed
bump-version / bump (push) Failing after 2s
Some checks failed
bump-version / bump (push) Failing after 2s
This commit is contained in:
parent
6e9211b5a0
commit
ed2b8b675c
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/bump-version.yml
vendored
2
.github/workflows/bump-version.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue