From fced0a48ee7303fc9ac59d3c6bf6f8c078abe8dc Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 26 Nov 2025 21:32:38 -0500 Subject: [PATCH] Rename bin/gitleaks to gitleaks-audit to prevent script recursion if bin is in user's $PATH --- bin/{gitleaks => gitleaks-audit} | 0 config/ci.rb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename bin/{gitleaks => gitleaks-audit} (100%) diff --git a/bin/gitleaks b/bin/gitleaks-audit similarity index 100% rename from bin/gitleaks rename to bin/gitleaks-audit diff --git a/config/ci.rb b/config/ci.rb index b7ddab694..f6cbbf953 100644 --- a/config/ci.rb +++ b/config/ci.rb @@ -8,7 +8,7 @@ CI.run do step "Security: Gem audit", "bin/bundler-audit check --update" step "Security: Importmap audit", "bin/importmap audit" step "Security: Brakeman audit", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error" - step "Security: Gitleaks audit", "bin/gitleaks" + step "Security: Gitleaks audit", "bin/gitleaks-audit" step "Tests: Rails: SaaS config", "bin/rails test" step "Tests: Rails: OSS config", "OSS_CONFIG=1 bin/rails test"