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 <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23223>
This commit is contained in:
Eric Engestrom 2023-05-24 22:44:08 +01:00 committed by Marge Bot
parent 6801de5170
commit 51482b2c6a

View File

@ -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: