Commit 34886be
authored
ci(security-review): set origin/HEAD so the bundled skill's git diff works (#1327)
The /security-review slash command runs `git diff origin/HEAD...` as its
first action to enumerate the PR's changes. actions/checkout doesn't set
up the remote's symbolic HEAD ref, so that command fails with
"ambiguous argument 'origin/HEAD...': unknown revision". Claude then
loops trying variants until --max-turns 30 trips and the action exits 1.
Set origin/HEAD to the PR's base ref right after checkout so the skill's
git invocations resolve correctly. Run #26186045056 on PR #1321 was the
trigger - 30 turns spent on shell-error recovery, no findings posted.1 parent 32c475d commit 34886be
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
170 | 183 | | |
171 | 184 | | |
172 | 185 | | |
| |||
0 commit comments