Skip to content

Commit 34b4852

Browse files
committed
fix: tighten release label match to avoid false positives
1 parent d22e1ea commit 34b4852

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-ui-npm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
--json labels \
4141
--jq '.[0].labels[].name' 2>/dev/null || true)
4242
43-
if echo "$LABELS" | grep -q "^release"; then
43+
if echo "$LABELS" | grep -qE "^release(:|$)"; then
4444
echo "mode=release" >> "$GITHUB_OUTPUT"
4545
if echo "$LABELS" | grep -q "release:major"; then
4646
echo "bump-type=major" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)