Skip to content

fix(ci): release.yml startup failure — literal ${{ }} in a run-block comment#465

Merged
jamestexas merged 1 commit into
mainfrom
fix/release-yml-expr-in-comment
Jun 27, 2026
Merged

fix(ci): release.yml startup failure — literal ${{ }} in a run-block comment#465
jamestexas merged 1 commit into
mainfrom
fix/release-yml-expr-in-comment

Conversation

@jamestexas

Copy link
Copy Markdown
Contributor

Root cause

The build step's run: block had a bash comment containing a literal ${{ }}:

# clean version.txt base checked below). Passed via env (not inline
# ${{ }}). The error message does NOT echo the raw TAG: pre-validation

GitHub Actions evaluates ${{ }} expressions before the shell runs the script — even inside comments — so the empty expression failed to parse at workflow-load time (unexpected end of input, confirmed by actionlint). That's a startup_failure ("This run likely failed because of a workflow file issue"), which fires on every push regardless of trigger match.

Impact

Introduced in #437 (merged after v0.9.0). Every push since has logged a failed release.yml run (dependabot branches included), and — critically — the v0.10.0 tag never produced a release. v0.9.0 was the last successful release because it predates #437.

Fix

Reword the comment to drop the literal token. No behavior change. actionlint now passes clean.

After merge

Re-trigger the v0.10.0 release (re-push the tag at the fixed HEAD, or workflow_dispatch with tag=v0.10.0).

🤖 Generated with Claude Code

A bash comment inside the build step's run: block literally contained
${{ }}. GitHub Actions substitutes ${{ }} expressions before the shell
sees the script, so the empty expression was parsed at workflow-load time →
'unexpected end of input' → startup_failure ("workflow file issue") on
EVERY push since #437 merged (after v0.9.0). v0.10.0 was the first tag since,
so the release silently never ran. Reworded the comment to drop the literal
token; actionlint clean.
@jamestexas jamestexas merged commit 3746dbc into main Jun 27, 2026
14 checks passed
@jamestexas jamestexas deleted the fix/release-yml-expr-in-comment branch June 27, 2026 02:40
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