mirror of
https://github.com/xiph/opus.git
synced 2025-05-15 07:58:29 +00:00
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: Ralph Giles <giles@thaumas.net>
This commit is contained in:
parent
a923218e9b
commit
794392ecd7
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue