Commit 29b34b0
committed
fix: indent Python heredoc content to satisfy YAML block scalar rules
Python script lines at column 0 inside a run: | block scalar caused
the YAML parser to treat them as ending the block, making the entire
workflow file unparseable — so the action never ran at all.
YAML block scalars require every content line to be indented at least
as deep as the block's own indentation (10 spaces here). GitHub Actions
strips that minimum indentation before passing the script to bash, so
the heredoc writes the Python file with correct zero-based indentation.
https://claude.ai/code/session_01Lg4VQQXs3q3WW4aMoe3Xci1 parent 9442c9b commit 29b34b0
1 file changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
0 commit comments