Skip to content

Set pass_filenames to false for Docker hook#1850

Merged
zricethezav merged 1 commit into
gitleaks:masterfrom
jrdnbradford:gitleaks-docker-fix
May 15, 2025
Merged

Set pass_filenames to false for Docker hook#1850
zricethezav merged 1 commit into
gitleaks:masterfrom
jrdnbradford:gitleaks-docker-fix

Conversation

@jrdnbradford
Copy link
Copy Markdown
Contributor

@jrdnbradford jrdnbradford commented May 4, 2025

Description:

Fixes #1749.

I've tested it successfully with

 pre-commit try-repo /path/to/gitleaks gitleaks-docker --verbose --all-files 

Edit: may be superseded by #1750 depending on discussion there.

Checklist:

  • Does your PR pass tests?
  • Have you written new tests for your changes?
  • Have you lint your code locally prior to submission?

@zricethezav zricethezav merged commit 611db65 into gitleaks:master May 15, 2025
2 checks passed
@jrdnbradford jrdnbradford deleted the gitleaks-docker-fix branch May 15, 2025 20:40
alayne222 pushed a commit to alayne222/gitleaks that referenced this pull request May 28, 2025
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.

Error in gitleaks-docker (v8.23.3): 'accepts at most 1 arg(s), received 2' when multiple files are committed

2 participants