From df38b0a36cafa542c46cf3fa3bbde0a3c433d7fa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 22 Feb 2026 17:56:29 -0700 Subject: [PATCH] fix(ci): wrap publish.yml if-expression in ${{ }} to fix YAML parse error YAML interprets bare `!startsWith(...)` as a tag, causing the entire workflow to fail with "error in your yaml syntax on line 20" before any jobs run. --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 40e0d934..8c4ccce8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: name: Preflight checks runs-on: ubuntu-latest # Skip dev publish when the push is a stable release version bump - if: github.event_name == 'release' || !startsWith(github.event.head_commit.message, 'chore: release v') + if: ${{ github.event_name == 'release' || !startsWith(github.event.head_commit.message, 'chore: release v') }} permissions: contents: read steps: