def get_commits_comment_action_message(user_name, action, commit_url, sha, message=None):
    content = COMMITS_COMMENT_MESSAGE_TEMPLATE.format(user_name=user_name, action=action, sha=get_short_sha(sha), url=commit_url)
    if (message is not None):
        content += CONTENT_MESSAGE_TEMPLATE.format(message=message)
    return content
def get_commits_comment_action_message(user_name, action, commit_url, sha, message=None):
    content = COMMITS_COMMENT_MESSAGE_TEMPLATE.format(user_name=user_name, action=action, sha=get_short_sha(sha), url=commit_url)
    if (message is not None):
        content += CONTENT_MESSAGE_TEMPLATE.format(message=message)
    return content