diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index eb2b60408..0b0614a99 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -11,7 +11,7 @@ on: jobs: test: - if: github.repository == 'trufflesecurity/trufflehog' + if: ${{ github.repository == 'trufflesecurity/trufflehog' && !github.event.pull_request.head.repo.fork }} runs-on: ubuntu-latest steps: - name: Checkout code