Skip to content

Find, verify, and analyze leaked credentials

chore: don't run test workflow in forks (#2221)

Richard Gomezb0fab16ad4b5
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8e6bd17b4..c9e9bd431 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"