fix(ci): ensure PR base commit before secrets diff; avoid full-scan fallback#38482
fix(ci): ensure PR base commit before secrets diff; avoid full-scan fallback#38482mwfj wants to merge 3 commits intoopenclaw:mainfrom
Conversation
Greptile SummaryThis PR fixes a shallow-checkout race condition in the Key changes:
Confidence Score: 4/5
|
|
Code is ready to review |
|
Closing this PR because the fix has already landed upstream in |
|
Closing as already fixed upstream in main. |
Summary
ensure-base-committo thesecretsjob for pull_request events before changed-file diffingPR_BASE_SHA,PUSH_BEFORE_SHA)Why
PR runs with shallow checkout (
fetch-depth: 1) can miss the base SHA and trigger:Falling back to full detect-secrets scan.That creates unrelated failures against repository-wide baseline noise.
Scope
.github/workflows/ci.ymlLinked