def METHOD_NAME(self, project, config, actor=None):
    url = config["gitlab_url"].rstrip("/")
    token = config["gitlab_token"]
    repo = config["gitlab_repo"]
    client = GitLabClient(url, token)
    try:
        client.get_project(repo)
    except Exception as e:
        self.raise_error(e)
    return config