Skip to content

Name the gitleaks step for the range it actually scans - #6

Merged
bezilla merged 1 commit into
mainfrom
gitleaks-step-name
Sep 6, 2026
Merged

Name the gitleaks step for the range it actually scans#6
bezilla merged 1 commit into
mainfrom
gitleaks-step-name

Conversation

@bezilla

@bezilla bezilla commented Sep 6, 2026

Copy link
Copy Markdown
Owner

The step claimed full history and never scanned it on either trigger:

event commits scanned bytes
pull_request 1 546
push 3 21,574

Against 41 commits on main. fetch-depth: 0 makes the range resolvable, not wider. Full history is covered by the identity job, which runs pre-push --all-history.

The incremental scan is the value here, so this renames the step rather than widening the job. The job name — and therefore the required status check context gitleaks — is unchanged.

The step was called "gitleaks over full history" and never scanned full
history on either trigger: the action reads the commit range of the
event, one commit on a pull request and the pushed range on a push,
against 41 on main. fetch-depth: 0 makes that range resolvable rather
than wider. Full history is the identity job's --all-history run.

The job name, and so the required check context, is unchanged.
@bezilla
bezilla merged commit 36f2e0e into main Sep 6, 2026
6 checks passed
@bezilla
bezilla deleted the gitleaks-step-name branch September 6, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant