Skip to content

Commit

Permalink
disable secret scans for community PRs (#3343)
Browse files Browse the repository at this point in the history
* disable secret scans for community PRs

* check if fork too
  • Loading branch information
zricethezav authored Sep 27, 2024
1 parent 49cb9d3 commit 8cb5e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cb5e98

Please sign in to comment.