From b7e90f90a0945f833eabbce35dfcca1e35c25ced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20Mart=C3=ADnez=20Fraga?= Date: Fri, 24 Jan 2020 08:58:53 -0500 Subject: [PATCH] Improve GitLab support for MRs from forks --- source/ci_source/providers/GitLabCI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ci_source/providers/GitLabCI.ts b/source/ci_source/providers/GitLabCI.ts index cf7fc8adf..6b6832116 100644 --- a/source/ci_source/providers/GitLabCI.ts +++ b/source/ci_source/providers/GitLabCI.ts @@ -23,7 +23,7 @@ export class GitLabCI implements CISource { } get repoSlug(): string { - return this.env.CI_PROJECT_PATH + return this.env.CI_MERGE_REQUEST_PROJECT_PATH || this.env.CI_PROJECT_PATH } get commitHash(): string {