You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): fix heredoc syntax error in release notification job (#451)
## Summary
- Replace heredoc+sed patterns with echo blocks in the release-slsa
workflow
- Fixes bash syntax error `unexpected end of file (wanted 'PR_EOF')` in
the "Notify Released PRs/Issues" job
## Root Cause
Heredoc closing delimiters (`PR_EOF`, `ISSUE_EOF`) inside `for` loops
were indented by the YAML block scalar indentation. After YAML
processing strips the base indentation, the delimiters still had 2-4
spaces of leading whitespace. Since `<<` (without `-`) requires the
closing delimiter at column 0, bash fails with a syntax error.
The `VERIFICATION_EOF` heredoc had the same fragile pattern (though it
happened to work because it wasn't inside a loop).
## Fix
Replace all three heredoc+sed patterns with simple `{ echo ...; } >
file` blocks that are immune to YAML indentation issues.
## Failed run
https://github.com/netresearch/ofelia/actions/runs/21807613643/job/62913771307
0 commit comments