Commit 42acf9a
committed
ci: fix YAML validator to handle heredoc-in-bash edge case
Python's yaml.safe_load is stricter than GitHub's YAML parser on
heredoc terminators at column 0 inside block scalars. Use yaml.scan()
to check for critical structural errors only, tolerating known-safe
patterns that GitHub Actions parses correctly.
Satisfies ACOR-011 parent a9ff4be commit 42acf9a
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
0 commit comments