from typing import Dict


def parse_commit_message(commit_message: str) -> Dict[str, str]:
    """
    解析提交信息
    :param commit_message: git提交信息
    :return: 写入yaml的结构
    """
    commit_type, commit_content = commit_message.split(":", maxsplit=1)
    return {"commit_type": commit_type.strip(), "commit_content": commit_content.strip()}