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
This commit is contained in:
2026-07-14 16:51:50 +00:00

View File

@@ -56,7 +56,9 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Don't loop on our own bump commit (belt-and-suspenders with [skip ci]). # 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: steps:
- name: Check out full history (need tags + commit log for the bump) - name: Check out full history (need tags + commit log for the bump)
uses: actions/checkout@v4 uses: actions/checkout@v4