Skip to content
Snippets Groups Projects
Commit ee151673 authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Add possibility to skip MR pipeline build via label

parent ad9d367e
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,9 @@ merge:
build:
stage: build
rules:
# Do not run build if the "skip build" label is set on the merge request
- if: $CI_MERGE_REQUEST_LABELS =~ /skip build/
when: never
# execute this in MR only and not for integrate/gitlab-ci/ integrations
# branches. These are build after the integration has been done in all
# projects
......
......@@ -110,6 +110,9 @@ merge:
build:
stage: build
rules:
# Do not run build if the "skip build" label is set on the merge request
- if: $CI_MERGE_REQUEST_LABELS =~ /skip build/
when: never
# execute this in MR only and not for integrate/gitlab-ci/ integrations
# branches. These are build after the integration has been done in all
# projects
......
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