{ "pre-commit": { "enabled": true, "actions": [ { "action": "\\CaptainHook\\App\\Hook\\Diff\\Action\\BlockSecrets", "options": {}, "conditions": [] }, { "action": "composer lint-fix", "options": {}, "conditions": [] }, { "action": "composer test", "options": {}, "conditions": [] } ] }, "commit-msg": { "enabled": true, "actions": [ { "action": "\\Ramsey\\CaptainHook\\ValidateConventionalCommit", "options": {}, "conditions": [] } ] }, "pre-push": { "enabled": false, "actions": [] }, "post-commit": { "enabled": false, "actions": [] }, "post-merge": { "enabled": false, "actions": [] }, "post-checkout": { "enabled": false, "actions": [] }, "post-rewrite": { "enabled": false, "actions": [] }, "post-change": { "enabled": true, "actions": [ { "action": "composer install", "options": {}, "conditions": [ { "exec": "CaptainHook.FileChanged.Any", "args": [ ["composer.json", "composer.lock"] ] } ] } ] } }