Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bin/security_gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
SCAN_EXCLUSIONS = {
"bin/security_gate.py",
"SECURITY.md",
"tests/test_unit_security_gate.py",
}


Expand Down Expand Up @@ -229,6 +230,8 @@ def main():
# 3. Scan for secrets in tracked files
secret_count = 0
for filepath_str in tracked:
if filepath_str in SCAN_EXCLUSIONS:
continue
filepath = PROJECT_ROOT / filepath_str
if not filepath.exists():
continue
Expand Down