gitlab-ci: Run CI pipeline for all branches in the main repository
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 10 Apr 2019 08:33:13 +0000 (10:33 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 11 Apr 2019 09:22:41 +0000 (11:22 +0200)
In turn, do not run the pipeline for the master branch in forked
repositories.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml

index a923dd7..f39a732 100644 (file)
@@ -34,7 +34,7 @@ stages:
 # When to automatically run the CI
 .ci-run-policy: &ci-run-policy
   only:
-    - master
+    - branches@mesa/mesa
     - merge_requests
     - /^ci([-/].*)?$/
   retry: