Skip to content

Commit 90d1679

Browse files
committed
fix(ci): remove explicit base/head from TruffleHog scan
On push to main, base (default_branch) and head (HEAD) resolve to the same commit after checkout, causing TruffleHog to exit with an error. Omitting base/head lets the action auto-detect the commit range from the event type (push.before/after or PR base/head SHAs).
1 parent b8988ad commit 90d1679

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/trufflehog.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,4 @@ jobs:
2121
- uses: trufflesecurity/trufflehog@75add79b929b263dae147d2e5bcf0daf292165cf
2222
with:
2323
path: ./
24-
base: ${{ github.event.repository.default_branch }}
25-
head: HEAD
2624
extra_args: --only-verified --fail --no-update

0 commit comments

Comments
 (0)