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 @@ -20,13 +20,16 @@ jobs:
2020 uses : ./.github/actions/extract-branch
2121 id : extract_branch
2222
23+ # https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
2324 - name : 🐷 TruffleHog OSS
2425 uses : trufflesecurity/trufflehog@main
2526 if : ${{ github.event.pull_request != null }} # only scan on pull-requests
2627 with :
27- path : ./
28- base : ${{ steps.extract_branch.outputs.branch-name }}
29- head : HEAD
28+ # Setting base to an empty string scans the entire branch, per TruffleHog OSS advanced usage:
29+ # https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
30+ base : " "
31+ head : ${{ github.ref_name }}
32+ extra_args : --results=verified,unknown
3033
3134 - name : 💀 Killing me softly
3235 uses : ./.github/actions/cancel-workflow
You can’t perform that action at this time.
0 commit comments