From e1860cc395918cbd4e886325fdc795a41b9e5bb4 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 13 May 2026 23:07:35 +0100 Subject: [PATCH] ci(secret-scanner): drop duplicate --fail from trufflehog extra_args The trufflehog GitHub action passes --fail automatically. Passing it again via extra_args causes 'flag fail cannot be repeated'. Same fix as hyperpolymath/hypatia#227 and hyperpolymath/boj-server#59. --- .github/workflows/secret-scanner.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index 76d2b2e..84b5eb7 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -21,7 +21,7 @@ jobs: - name: TruffleHog Secret Scan uses: trufflesecurity/trufflehog@8a8ef8526528d8a4ff3e2c90be08e25ef8efbd9b # v3 with: - extra_args: --only-verified --fail + extra_args: --only-verified gitleaks: runs-on: ubuntu-latest