def create_headers(config):
    """Create headers for github api request."""
    return {
        'Accept': 'application/vnd.github.v3+json',
        'Authorization': 'token {}'.format(config['auth_token']),
        'Content-Type': 'application/json',
        'User-Agent': config['user_agent_string']
    }