diff --git a/scripts/move_mrs_to_monorepo.py b/scripts/move_mrs_to_monorepo.py index 1c491566d0..bb4592b9d0 100755 --- a/scripts/move_mrs_to_monorepo.py +++ b/scripts/move_mrs_to_monorepo.py @@ -275,13 +275,17 @@ class GstMRMover: description = f"**Copied from {URL}/{project.path_with_namespace}/-/merge_requests/{mr.iid}**\n\n{mr.description}" + title = mr.title + if ':' not in mr.title: + title = f"{project.name}: {mr.title}" + new_mr_dict = { 'source_branch': branch, 'allow_collaboration': True, 'remove_source_branch': True, 'target_project_id': to_project.id, 'target_branch': MONOREPO_BRANCH, - 'title': mr.title, + 'title': title, 'labels': mr.labels, 'description': description, }