diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e6bd17b..c9e9bd43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ on: jobs: test: - if: ${{ ! github.event.pull_request.head.repo.fork }} + if: ${{ github.repository == 'trufflesecurity/trufflehog' && !github.event.pull_request.head.repo.fork }} runs-on: ubuntu-latest permissions: actions: "read"