def get_event(request):
    """
    Returns the name of the event from request

    :param request: incomming request
    :return: event from webhook (String)
    """
    return request.headers['X-Github-Event']