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