Skip to content

Commit 45ae5ef

Browse files
ci(secret-scanner): drop duplicate --fail from trufflehog extra_args (#52)
The trufflehog GitHub Action passes `--fail` automatically. Passing it again via `extra_args` causes: ``` trufflehog: error: flag 'fail' cannot be repeated ``` This unblocks the trufflehog gate. Same fix as hyperpolymath/hypatia#227 and hyperpolymath/boj-server#59.
1 parent 07b0a8b commit 45ae5ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/secret-scanner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: TruffleHog Secret Scan
2222
uses: trufflesecurity/trufflehog@17456f8c7d042d8c82c9a8ca9e937231f9f42e26 # v3
2323
with:
24-
extra_args: --only-verified --fail
24+
extra_args: --only-verified
2525

2626
gitleaks:
2727
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)