Skip to content

Name the secret findings that block a commit - #15

Merged
krystophny merged 1 commit into
mainfrom
report-secret-findings
Nov 10, 2026
Merged

krystophny merged 1 commit into
mainfrom
report-secret-findings

Conversation

@krystophny

Copy link
Copy Markdown
Member

A staged secret blocked the commit with status 1 but printed nothing: gitleaks runs with --log-level=error, which hides its "leaks found" warning, and without --verbose it does not print the findings. Adding --verbose prints each finding with file and line, the secret still redacted by --redact.

test_local_allowance_never_waives_secrets now checks that the blocked file is named and the token is not shown; it fails without the change.

Chris&AI

@krystophny
krystophny enabled auto-merge November 10, 2026 21:22
@krystophny
krystophny added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit e7b3579 Nov 10, 2026
1 check passed
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