diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index a069462..8f8026e 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -48,7 +48,7 @@ jobs: uses: trufflesecurity/trufflehog@v3.95.5 with: path: ./ - base: ${{ github.event_name == 'push' && github.event.before || github.event.repository.default_branch }} + base: ${{ github.event_name == 'pull_request' && github.event.repository.default_branch || '' }} head: HEAD extra_args: --only-verified