You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lint: gitleaks range scan skips merge-commit diffs #13
lint/run.sh runs gitleaks git --log-opts="${LINT_BASE}..${LINT_HEAD}". With --log-opts set, gitleaks runs git log -p -U0 <opts>, and git log -p prints no diff for merge commits by default. So a secret that only appears in a merge commit's conflict resolution on a PR branch (e.g. after a merge-style gh pr update-branch) isn't scanned in range mode. Tree mode (no base) isn't affected.
Possible fix: add --diff-merges=remerge (git ≥ 2.36; shows only what the merge itself changed beyond the automatic merge) or -m (diff against every parent, noisier) to the log opts, then release v1.3.1 and bump the pins.
Activity