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:

committed by
Marge Bot

parent
6801de5170
commit
51482b2c6a
@@ -16,7 +16,7 @@ def get_gitlab_project(glab, name: str):
|
|||||||
"""Finds a specified gitlab project for given user"""
|
"""Finds a specified gitlab project for given user"""
|
||||||
glab.auth()
|
glab.auth()
|
||||||
username = glab.user.username
|
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:
|
def read_token(token_arg: Optional[str]) -> str:
|
||||||
|
Reference in New Issue
Block a user