Cloud-CV/EvalAI-Starters

Bug: assumption that repo is under account of owner of AUTH_TOKEN

gianmarco-motional opened this issue · 0 comments

In utils.py in two instances to fetch the repo the calls are chained as

def add_pull_request_comment(github_auth_token, repo_name, pr_number, comment_body):
        ....
        client = Github(github_auth_token)
        repo = client.get_user().get_repo(repo_name)

This does not allow for the repo to be owned by an organization or by a person different by the one owning the AUTH_TOKEN.