disable secret scans for community PRs (#3343)

* disable secret scans for community PRs

* check if fork too
This commit is contained in:
Zachary Rice
2024-09-27 11:55:04 -05:00
committed by GitHub
parent 49cb9d395d
commit 8cb5e98804
+1 -1
View File
@@ -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