1 parent 0383bc5 commit 07d742cCopy full SHA for 07d742c
1 file changed
.github/workflows/security.yml
@@ -85,6 +85,6 @@ jobs:
85
uses: trufflesecurity/trufflehog@main
86
with:
87
path: ./
88
- base: ${{ github.event.repository.default_branch }}
89
- head: HEAD
+ base: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || 'HEAD~50' }}
+ head: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'HEAD' }}
90
extra_args: --debug --only-verified
0 commit comments