File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,16 @@ jobs:
1616 uses : ./.github/actions/extract-branch
1717 id : extract_branch
1818
19+ # https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
1920 - name : 🐷 TruffleHog OSS
2021 uses : trufflesecurity/trufflehog@main
2122 if : ${{ github.event.pull_request != null }} # only scan on pull-requests
2223 with :
23- path : ./
24- base : ${{ steps.extract_branch.outputs.branch-name }}
25- head : HEAD
24+ # Setting base to an empty string scans the entire branch, per TruffleHog OSS advanced usage:
25+ # https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
26+ base : " "
27+ head : ${{ github.ref_name }}
28+ extra_args : --results=verified,unknown
2629
2730 - name : 💀 Killing me softly
2831 uses : ./.github/actions/cancel-workflow
You can’t perform that action at this time.
0 commit comments