Repository navigation
Commit c09b7cb
fix(ci): PR secret scans covered 0 commits; name the commits instead of a --remotes glob
`--remotes=origin/main` is a git glob that becomes origin/main/*, so it
matched nothing. On a push the scan still worked, because `--branches`
held the checked-out branch, but a pull request checks out a detached
merge commit with no local branch, and every PR scan reported "0 commits
scanned, no leaks found": #2375, #2368 and #2389 all did. That is how
#2213's fixture passed review and only went red on main. Scan HEAD (the PR
merge commit, or the pushed branch) plus origin/main and origin/v1.0.x by name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015eTFc9yqm2vKZiUyvLuBT41 parent 00d3ded commit c09b7cb
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
43 | | - | |
| 50 | + | |
0 commit comments