Repository navigation
[ROB] Fix gitleaks push range (OPS-993) - #2134
Conversation
…y on full-history fallback (OPS-993)
This comment has been minimized.
This comment has been minimized.
|
Automatic approval held Kody's assessment:
|
…rce-push/deletion), mirroring ContactLogo
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀
Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Summary
beforeandafterfromgithub.event, so gitleaks can scan the changed commit range instead of silently receiving empty SHAs.The automated code review reported no issues. No test execution or runtime verification is reported.
For push events, the Gitleaks workflow now scans the full repository history when either push endpoint is missing, all zeros, or not available as a commit in the checkout. This avoids using an invalid commit range for branch deletions and force-pushes; when both endpoints are valid commits, the workflow continues to scan the push range.