chore: don't run test workflow in forks (#2221)
Lint / lint (push) Waiting to run
Release / Release (push) Waiting to run
Scan for secrets / test (push) Waiting to run
Snifftest / Run Snifftest (push) Waiting to run
Test / test (push) Waiting to run
Test / test-community (push) Waiting to run

This commit is contained in:
Richard Gomez
2023-12-14 16:48:48 -08:00
committed by GitHub
parent b3040b1227
commit b0fab16ad4
+1 -1
View File
@@ -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"