summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/hooks/hooks.json
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/security-guidance/hooks/hooks.json')
-rw-r--r--plugins/security-guidance/hooks/hooks.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/security-guidance/hooks/hooks.json b/plugins/security-guidance/hooks/hooks.json
index eef54730..6065fdad 100644
--- a/plugins/security-guidance/hooks/hooks.json
+++ b/plugins/security-guidance/hooks/hooks.json
@@ -60,6 +60,23 @@
}
],
"matcher": "Bash"
+ },
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/sg-python.sh\" \"${CLAUDE_PLUGIN_ROOT}/hooks/security_reminder_hook.py\" commit",
+ "if": "PowerShell(git*commit*)",
+ "asyncRewake": true
+ },
+ {
+ "type": "command",
+ "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/sg-python.sh\" \"${CLAUDE_PLUGIN_ROOT}/hooks/security_reminder_hook.py\" push",
+ "if": "PowerShell(git*push*)",
+ "asyncRewake": true
+ }
+ ],
+ "matcher": "PowerShell"
}
],
"Stop": [