File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,17 @@ jobs:
69
69
uses : github/codeql-action/analyze@v3
70
70
71
71
- name : TruffleHog OSS
72
- if : env.BRANCH_NAME != github.event.repository.default_branch
72
+ if : github.event_name == 'pull_request'
73
73
uses : trufflesecurity/trufflehog@main
74
74
with :
75
75
path : ./
76
- base : ${{ github.event.repository.default_branch }}
77
- head : HEAD
76
+ base : ${{ github.event.pull_request.base.sha }}
77
+ head : ${{ github.event.pull_request.head.sha }}
78
78
extra_args : --debug --only-verified
79
+
80
+ - name : TruffleHog OSS (on push to 17.0)
81
+ if : github.event_name == 'push' && github.ref == 'refs/heads/17.0'
82
+ uses : trufflesecurity/trufflehog@main
83
+ with :
84
+ path : ./
85
+ extra_args : --debug --only-verified # Scanning the entire repo
You can’t perform that action at this time.
0 commit comments