Skip to content

Commit 27257c4

Browse files
baijumclaude
andcommitted
fix: exclude _platform directory from secret scanning in validator
The reusable validate workflow checks out the platform repo into _platform/, causing false positives on rotate-credentials.sh and test fixtures. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 46f5e09 commit 27257c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

validator/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def _check_secrets(self):
254254
rel_root = os.path.relpath(root, self.app_dir)
255255
skip = False
256256
for part in rel_root.split(os.sep):
257-
if part.startswith(".") or part in ("node_modules", "__pycache__", "venv", ".venv"):
257+
if part.startswith(".") or part in ("node_modules", "__pycache__", "venv", ".venv", "_platform"):
258258
skip = True
259259
break
260260
if skip:

0 commit comments

Comments
 (0)