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:
16
16
uses : ./.github/actions/extract-branch
17
17
id : extract_branch
18
18
19
+ # https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
19
20
- name : 🐷 TruffleHog OSS
20
21
uses : trufflesecurity/trufflehog@main
21
22
if : ${{ github.event.pull_request != null }} # only scan on pull-requests
22
23
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
26
29
27
30
- name : 💀 Killing me softly
28
31
uses : ./.github/actions/cancel-workflow
You can’t perform that action at this time.
0 commit comments