Skip to content

fix(ci): remove literal ${{ }} from release.yml comment (422 on dispatch)#49

Merged
tonmoy007 merged 2 commits into
developfrom
fix/release-yml-empty-expr
Jun 24, 2026
Merged

fix(ci): remove literal ${{ }} from release.yml comment (422 on dispatch)#49
tonmoy007 merged 2 commits into
developfrom
fix/release-yml-empty-expr

Conversation

@tonmoy007

Copy link
Copy Markdown
Owner

PR #46 left a literal empty GitHub expression \${{ }} inside the release.yml "Create tag and GitHub release" run block (in a comment). GitHub scans the whole run script for template expressions, so the empty one fails to parse — workflow_dispatch returns HTTP 422 "An expression was expected", breaking the server-side release fallback.

Surfaced while releasing v0.6.1: the dispatch 422'd, so v0.6.1 was tagged via a direct tag push (which worked in this environment). This restores the dispatch fallback for environments where tag pushes 403.

Fix: rephrase the comment to describe the env-var pattern without writing a literal expression, plus a note so it isn't reintroduced. No behavior change to the release step. YAML validated; no remaining literal \${{ }} in run scripts.

🤖 Generated with Claude Code

tonmoy007 and others added 2 commits June 24, 2026 15:00
Release v0.6.1 — prompt tightening (caveman measured & dropped)
PR #46's comment wrote a literal empty GitHub expression `${{ }}` inside the
"Create tag and GitHub release" run block. GitHub scans the entire run script
(comments included) for template expressions, so the empty one fails to parse —
`workflow_dispatch` returned HTTP 422 "An expression was expected" (Line 61).

Rephrase the comment to describe the env-var pattern without writing a literal
expression, and add a note so it isn't reintroduced. No behavior change to the
release step. (v0.6.1 was tagged via a direct tag push, which worked in this
environment; this restores the server-side dispatch fallback for when it 403s.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tonmoy007
tonmoy007 merged commit 880e598 into develop Jun 24, 2026
3 checks passed
@tonmoy007
tonmoy007 deleted the fix/release-yml-empty-expr branch June 24, 2026 09:09
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.

2 participants