diff --git a/commands/merge_requests.py b/commands/merge_requests.py index dfd6c00..a251e55 100644 --- a/commands/merge_requests.py +++ b/commands/merge_requests.py @@ -35,11 +35,13 @@ class MergeRequests(BaseGitCommand): commit(f'"Add sources ({submission.branch} {submission.login})"') push("origin", submission.branch) + mail = f"
\nMail\n\n
{submission.get_mail()}
" + self.gitlab.post_mr( source_branch=submission.branch, target_branch="master", title=f"[{submission.homework}{'-opravne' if submission.correction else ''}] {submission.login}", - description=submission.get_mail(), + description=mail, labels=submission.homework, remove_source_branch="true", assignee_ids=["1772"],