Mirrors the hook + script from `fai/platform`@1ebf893 verbatim so commits to fai_dart_sdk go through the same gate: secrets, forbidden filenames, confidentiality references, marketing- speak, DCO sign-off, Conventional Commits subject, no Claude co-author trailer. No `.security-allow` needed here — the SDK has no banned-words gate or policy doc that mentions the filtered terms verbatim. A full-history dry-run came back clean. Activate once per clone with `bash tools/install-hooks.sh`. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
5 lines
268 B
Bash
Executable file
5 lines
268 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# F∆I Platform — commit-msg hook.
|
|
# Validates the commit message: Conventional Commits subject, DCO
|
|
# sign-off, no Claude co-author trailer, no banned phrases.
|
|
exec "$(git rev-parse --show-toplevel)/tools/security/check-staged.sh" message "$1"
|