diff --git a/.agents/settings.json b/.agents/settings.json index c4ca5481598..f9a81de3a2e 100644 --- a/.agents/settings.json +++ b/.agents/settings.json @@ -16,6 +16,7 @@ "hooks": [ { "type": "command", + "if": "Bash(git add *)", "command": "bash .agents/hooks/enforce-git-hygiene.sh" } ],