Skip to content
Snippets Groups Projects
Commit 794392ec authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

ci: fix pipeline run for merge requests

This way CI pipeline runs for branches and tags
and makes it show up in merge requests where
a branch is used as source branch.

Makes all jobs show up in merge request CI
indicator (not just the whitespace job) and
only runs a single CI pipeline, without the
additional detached pipeline.

https://docs.gitlab.com/ce/ci/yaml/#workflowrules-templates



Signed-off-by: default avatarRalph Giles <giles@thaumas.net>
parent a923218e
No related branches found
No related tags found
1 merge request!22ci: fix pipeline run for merge requests
Pipeline #2343 passed
include:
- template: 'Workflows/Branch-Pipelines.gitlab-ci.yml'
default:
tags:
- docker
......@@ -6,8 +9,6 @@ default:
whitespace:
stage: test
only:
- merge_requests
script:
- git diff-tree --check origin/master HEAD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment