Skip to content

Commit 371b084

Browse files
author
Jonathan D.A. Jewell
committed
fix: configure TruffleHog to scan last 10 commits
Previous configuration caused 'BASE and HEAD are the same' error. Now scans last 10 commits explicitly using --since-commit HEAD~10.
1 parent a84dfb4 commit 371b084

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/quality.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ jobs:
2424
uses: trufflesecurity/trufflehog@e9734c1ff25106f68d4266f0b09c1fcfc915dad1 # main
2525
with:
2626
path: ./
27-
base: ${{ github.event.repository.default_branch }}
28-
head: HEAD
29-
extra_args: --debug --only-verified
27+
extra_args: --since-commit HEAD~10 --only-verified
3028

3129
editorconfig:
3230
name: EditorConfig Check

0 commit comments

Comments
 (0)