-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitleaks action fails when creating PR in new repo #58
Comments
@DariuszPorowski just checking in. Is including |
I'll test this while I'm working on #61 |
Looks like using Brand new repo with Same new repo with Existing repo with I'll include this fix in my merge along with the fix for #61 |
On this line, the command passed to gitleaks for PRs compares with
^..
which will reference the previous commit on the base branch. This causes Gitleaks to reference a commit that doesn't exist when running on a PR for a repo with only one commit in the base branch.Is there a reason this isn't
..
instead? Would it cause any issues to change this?Not a widely impactful bug, but I just want to understand what the intended behavior is in case I'm missing something.
The text was updated successfully, but these errors were encountered: