{
    "commit-msg": {
        "enabled": true,
        "actions": [
            {
                "action": "\\CaptainHook\\App\\Hook\\Message\\Action\\Regex",
                "options": {
                    "regex": "#^(Merge branch|(?:feat|fix|docs|qa|refactor):) \\S+.*?(\n\n.*)?#s",
                    "error": "Commit message must have a subject line of the format '(feat|fix|docs|qa|refactor): {description}' or 'Merge branch ...'; any additional content must have one empty line following.",
                    "success": "Expected commit message format detected!"
                },
                "conditions": []
            }
        ]
    },
    "pre-push": {
        "enabled": true,
        "actions": [
            {
                "action": "\\CaptainHook\\App\\Hook\\PHP\\Action\\Linting",
                "options": [],
                "conditions": []
            },
            {
                "action": "composer check",
                "options": [],
                "conditions": []
            }
        ]
    },
    "pre-commit": {
        "enabled": false,
        "actions": [
        ]
    },
    "prepare-commit-msg": {
        "enabled": false,
        "actions": []
    },
    "post-commit": {
        "enabled": false,
        "actions": []
    },
    "post-merge": {
        "enabled": false,
        "actions": []
    },
    "post-checkout": {
        "enabled": true,
        "actions": [
            {
                "action": "composer install",
                "options": [],
                "conditions": []
            }
        ]
    }
}
