From f9fabd70fd07a2d9fd7eb049d8cf06fcf6ac8594 Mon Sep 17 00:00:00 2001
From: Sarun Intaralawan <sarun.intaralawan@gmail.com>
Date: Mon, 15 Oct 2018 11:38:34 +0700
Subject: [PATCH] fix(gitlab): ensure that comments in GitLab uses MR, not PR
 (#2652)

---
 lib/platform/gitlab/index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/platform/gitlab/index.js b/lib/platform/gitlab/index.js
index 2452351d5c..a8a81e433a 100644
--- a/lib/platform/gitlab/index.js
+++ b/lib/platform/gitlab/index.js
@@ -577,6 +577,7 @@ async function ensureComment(issueNo, topic, content) {
       }
     });
   }
+  body = body.replace(/Pull Request/g, 'Merge Request').replace(/PR/g, 'MR');
   if (!commentId) {
     await addComment(issueNo, body);
     logger.info({ repository: config.repository, issueNo }, 'Added comment');
-- 
GitLab