You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
action.yml writes the Gemini CLI's LLM response to $GITHUB_OUTPUT using a fixed EOF heredoc delimiter (lines 353-359). If the LLM response contains a bare EOF line, the heredoc closes early and subsequent name=value lines become arbitrary step outputs.
This enables bash injection in any downstream consumer workflow that template-interpolates ${{ steps.gemini_run.outputs.X }} into a run: block.
Summary
action.ymlwrites the Gemini CLI's LLM response to$GITHUB_OUTPUTusing a fixedEOFheredoc delimiter (lines 353-359). If the LLM response contains a bareEOFline, the heredoc closes early and subsequentname=valuelines become arbitrary step outputs.This enables bash injection in any downstream consumer workflow that template-interpolates
${{ steps.gemini_run.outputs.X }}into arun:block.Root Cause
Fix
Replace fixed
EOFwith a random per-invocation delimiter:This follows the canonical pattern from GitHub's official docs.
Impact
gemini_responseandgemini_errorsoutput channelsRelated
!{...}shell expansion - fixed in PR fix: migrate shipped TOML templates from !{echo} to @{file} interpolation #524)