From 51482b2c6a6ecdbfbf1dce39ccbd20cdc71fc502 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 24 May 2023 22:44:08 +0100 Subject: [PATCH] bin/ci: fix mistakenly hardcoded repo name in get_gitlab_project() It didn't matter so far because all callers always pass "mesa". Signed-off-by: Eric Engestrom Part-of: --- bin/ci/gitlab_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ci/gitlab_common.py b/bin/ci/gitlab_common.py index 85313cc1deb..8497dfb9e26 100644 --- a/bin/ci/gitlab_common.py +++ b/bin/ci/gitlab_common.py @@ -16,7 +16,7 @@ def get_gitlab_project(glab, name: str): """Finds a specified gitlab project for given user""" glab.auth() username = glab.user.username - return glab.projects.get(f"{username}/mesa") + return glab.projects.get(f"{username}/{name}") def read_token(token_arg: Optional[str]) -> str: