diff --git a/scripts/deploy_gitlab_ci.py b/scripts/deploy_gitlab_ci.py index fb5a48dd27c0350830e2b8abe67f42e499fe7501..2104aa7a8eb7f6fa9028795f4a55e0d1bb6752bc 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,