Skip to content

fix(ci): quote auto-tag if expression to avoid YAML parse error#123

Merged
luarss merged 1 commit into
mainfrom
fix/auto-tag-yaml-lint
Jun 11, 2026
Merged

fix(ci): quote auto-tag if expression to avoid YAML parse error#123
luarss merged 1 commit into
mainfrom
fix/auto-tag-yaml-lint

Conversation

@luarss

@luarss luarss commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

The if condition in auto-tag.yml contained a bare colon inside a single-quoted string, which the YAML parser treated as a mapping value delimiter.

Fix: wrap the entire expression in double quotes.

# before
if: startsWith(github.event.head_commit.message, 'chore: release v')

# after
if: "startsWith(github.event.head_commit.message, 'chore: release v')"

make check passes cleanly after this change.

@luarss luarss enabled auto-merge (squash) June 11, 2026 13:00
@luarss luarss disabled auto-merge June 11, 2026 13:29
@luarss luarss merged commit 4ef5461 into main Jun 11, 2026
14 checks passed
@luarss luarss deleted the fix/auto-tag-yaml-lint branch June 11, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant