mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-07 22:44:16 +00:00
Docs: clarify main secret scan behavior
This commit is contained in:
@@ -1159,9 +1159,9 @@ If your AI does something bad:
|
||||
## Secret Scanning (detect-secrets)
|
||||
|
||||
CI runs the `detect-secrets` pre-commit hook in the `secrets` job.
|
||||
It checks changed files when a base commit is available, and falls back to an
|
||||
all-files scan otherwise. If it fails, there are new candidates not yet in the
|
||||
baseline.
|
||||
Pushes to `main` always run an all-files scan. Pull requests use a changed-file
|
||||
fast path when a base commit is available, and fall back to an all-files scan
|
||||
otherwise. If it fails, there are new candidates not yet in the baseline.
|
||||
|
||||
### If CI fails
|
||||
|
||||
|
||||
Reference in New Issue
Block a user