Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@max-sixty
Copy link
Member

Summary

  • Fix truncated system prompt in Claude Code GitHub Action
  • The multi-line --system-prompt argument was being parsed incorrectly (truncated to just "You")
  • Changed to single-line format with \n escapes so the argument parser handles it correctly

Root cause: The YAML literal block (|) preserved newlines, but the argument parser split on whitespace and didn't handle quotes spanning multiple lines.

Test plan

  • CI passes
  • Test by triggering @claude on an issue to verify the workflow now runs successfully

🤖 Generated with Claude Code

The multi-line system prompt in claude_args was being truncated because
the argument parser splits on whitespace and doesn't handle quotes
spanning multiple lines. Changed to single-line format with \n escapes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@max-sixty max-sixty merged commit 3acebd8 into PRQL:main Dec 17, 2025
40 checks passed
@max-sixty max-sixty deleted the claude-gha branch December 17, 2025 21:05
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