Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@niall-byrne
Copy link
Contributor

@niall-byrne niall-byrne commented Jan 14, 2021

v1.20 was working great for me, however I noticed if I bundled a few commits together and pushed, only the first one was scanned. There is a performance hit for this, but I think this is basic functionality that you want to ensure works properly.

I also was throwing an error with fallback to the default config on master.

If the user doesn't have the config file present in their repo, things break down
I included a change to the if statement to address this.

It might be helpful to test the action works as expected both with, and without a custom config file.

@niall-byrne niall-byrne changed the title Ensure All Commits and Scanned and Default Config Is Usable Ensure ALL pushed commits are scanned and the default config is usable Jan 14, 2021
@zricethezav
Copy link
Collaborator

solid, thanks!

@zricethezav zricethezav merged commit 6e41781 into gitleaks:master Jan 22, 2021
weineran pushed a commit that referenced this pull request Sep 9, 2022
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.

2 participants