Skip to content

fix: use heredoc format for multi-line GITHUB_OUTPUT#12

Merged
yanas merged 1 commit into
masterfrom
fix/pr-classify-output-format
Mar 12, 2026
Merged

fix: use heredoc format for multi-line GITHUB_OUTPUT#12
yanas merged 1 commit into
masterfrom
fix/pr-classify-output-format

Conversation

@yanas

@yanas yanas commented Mar 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fixes Invalid format '{' error when writing the classifier output to GITHUB_OUTPUT
  • Multi-line values must use the key<<delimiter heredoc syntax; plain echo "key=value" fails when the value contains newlines or {
  • Also strips newlines from the response to simplify the output

Test plan

🤖 Generated with Claude Code

Single-line echo cannot set multi-line values in GITHUB_OUTPUT.
Also strip newlines from the response to keep the output on one line.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@yanas yanas merged commit f7e07c7 into master Mar 12, 2026
1 check failed
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