diff --git a/.github/workflows/secret-scan.yml b/.github/workflows/secret-scan.yml index cc71f95..912f5d0 100644 --- a/.github/workflows/secret-scan.yml +++ b/.github/workflows/secret-scan.yml @@ -52,4 +52,8 @@ jobs: - name: Run TruffleHog scan run: | - trufflehog git file://. --only-verified --github-actions --fail + if [ -e .secret_scan_ignore ]; then + trufflehog git file://. --only-verified --github-actions --fail --exclude-paths=.secret_scan_ignore + else + trufflehog git file://. --only-verified --github-actions --fail + fi