2 Commits

Author SHA1 Message Date
78fcb7effb Merge pull request 'fix(ci): quote release workflow if: so the YAML parses' (#4) from fix/release-workflow-yaml into main
Some checks failed
Release sidecar / release (push) Failing after 2m15s
Reviewed-on: UOM/link#4
2026-07-14 16:51:50 +00:00
ddf14bdab0 fix(ci): quote release workflow if: so YAML parses
The job-level `if:` expression contains a colon (`chore(release):`), which
an unquoted YAML scalar misreads as a mapping value — Gitea rejected the
workflow with "yaml: line 59: mapping values are not allowed in this
context". Double-quote the whole `${{ }}` expression so it is treated as a
string. Verified the file parses end-to-end after the change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0114TpmrNW4wNXsHq5CR72jQ
2026-07-14 11:51:22 -05:00

View File

@@ -56,7 +56,9 @@ jobs:
release:
runs-on: ubuntu-latest
# Don't loop on our own bump commit (belt-and-suspenders with [skip ci]).
if: ${{ !contains(github.event.head_commit.message, 'chore(release): bump version') }}
# Quoted because the expression contains a colon (`chore(release):`), which an
# unquoted YAML scalar would misparse as a mapping value.
if: "${{ !contains(github.event.head_commit.message, 'chore(release): bump version') }}"
steps:
- name: Check out full history (need tags + commit log for the bump)
uses: actions/checkout@v4