Commit bc40fc6
ci: pass CLI branch via env, not inline (fixes semgrep run-shell-injection)
git clone interpolated github.event.inputs.branch directly into the shell.
Pass it via env ($BRANCH); it is regex-validated upstream. Part of PER-9772.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent af8b61a commit bc40fc6
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
0 commit comments