Don't let marge run post-merge pipeline
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 17 Apr 2020 17:47:22 +0000 (13:47 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 17 Apr 2020 17:48:18 +0000 (13:48 -0400)
This is a small regression from previous change.

gitlab/ci_template.yml

index 8d2723f..012085a 100644 (file)
@@ -55,7 +55,7 @@ manifest:
   extends:
     - '.global_ci_policy'
   rules:
-    - if: '$GITLAB_USER_LOGIN == "gstreamer-merge-bot"'
+    - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME && $GITLAB_USER_LOGIN == "gstreamer-merge-bot"'
       when: 'always'
     - if: '$CI_PROJECT_PATH == "gstreamer/cerbero"'
       when: 'always'