diff --git a/.github/hooks/scripts/secrets_leak_guard.py b/.github/hooks/scripts/secrets_leak_guard.py index 27a02c756..ad02b58a8 100644 --- a/.github/hooks/scripts/secrets_leak_guard.py +++ b/.github/hooks/scripts/secrets_leak_guard.py @@ -228,9 +228,8 @@ def main() -> None: ) sys.exit(1) else: - names = ", ".join(findings) print( - f"⚠️ SECRETS WARNING: Possible hardcoded secret detected{path_hint}. {names}. " + f"⚠️ SECRETS WARNING: Possible hardcoded secret detected{path_hint}. " "Verify this is not a real credential. Use env vars or local.settings.json for secrets." ) sys.exit(0)