Commit d3f4845
fix(ci): use env vars in release workflow to prevent script injection (#33)
## Summary
- Fix release workflow failure caused by backticks in commit message
body (e.g. `` `just test` ``) being interpreted as bash command
substitutions
- Move `github.event.head_commit.message` and `github.event_name` into
`env:` block instead of direct `${{ }}` interpolation into bash script
## Test Plan
- [x] Verified failed run 21814065606 — backticks in PR #32 commit body
caused `just: command not found`
- [x] Fix passes env vars safely, preventing script injection
## Checklist
- [x] Follows SDK API consistency guidelines
- [ ] Updated relevant specs (if applicable)
- [ ] Added/updated tests
- [x] Updated documentation (if applicable)
https://claude.ai/code/session_011XK7rd7vNxUHj3GXnfwr2N
Co-authored-by: Claude <noreply@anthropic.com>1 parent 2de2352 commit d3f4845
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments