Commit 5ab2004
Fix bin-image workflow JSON parsing error
Update the crazy-max/.github reusable workflow to the latest version to fix
a JSON parsing error that occurs when PR metadata contains control characters
(like newlines in the PR body).
The previous version (d9a10e2) used actions/github-script@v7 which had an
issue where it embedded the GitHub event payload directly into a JavaScript
template literal containing JSON. When JSON.parse() encountered unescaped
control characters, it would fail with:
SyntaxError: Bad control character in string literal in JSON at position...
The newer version (387d336) uses actions/github-script@v8 which handles JSON
serialization more properly, preventing these parsing errors.
Fixes the build failure seen in PR #654.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Signed-off-by: David Scott <[email protected]>1 parent 7722cbc commit 5ab2004
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments