From a7aa7c26c9820906d71fa20eaf20e25e20e95f7b Mon Sep 17 00:00:00 2001 From: Tim Jaacks <tim.jaacks@garz-fricke.com> Date: Tue, 30 Aug 2022 09:17:00 +0200 Subject: [PATCH] deploy_gitlab_ci: fix project argument passing --- scripts/deploy_gitlab_ci.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deploy_gitlab_ci.py b/scripts/deploy_gitlab_ci.py index fb5a48dd..2104aa7a 100755 --- a/scripts/deploy_gitlab_ci.py +++ b/scripts/deploy_gitlab_ci.py @@ -245,8 +245,9 @@ def main(): # ======================================================= if args.merge: # Get source merge request (the one in the gitlab-ci repo) + gitlab_ci_project = common.get_project(gitlab, args.project) mrs = get_merge_requests( - project=args.project, + project=gitlab_ci_project, target_branch=args.branch, state="merged", commit=args.revision, -- GitLab