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