Skip to content

Find, verify, and analyze leaked credentials

disable secret scans for community PRs (#3343)

Zachary Rice8cb5e988049f
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