disable secret scans for community PRs (#3343)
* disable secret scans for community PRs * check if fork too
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user