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