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

Add possibility to skip MR pipeline check via label

parent ee151673
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,9 @@ yamllint: ...@@ -56,6 +56,9 @@ yamllint:
extends: .infrastructure extends: .infrastructure
stage: check stage: check
rules: rules:
# Do not run check if the "skip build" label is set on the merge request
- if: $CI_MERGE_REQUEST_LABELS =~ /skip build/
when: never
# Do not integration pipeline for merge requests for integrate/gitlab-ci/ branches # Do not integration pipeline for merge requests for integrate/gitlab-ci/ branches
# The integration is done from the pipeline in gitlab-ci already # The integration is done from the pipeline in gitlab-ci already
- if: $CI_COMMIT_REF_NAME =~ /^integrate\/gitlab-ci\/.*/ - if: $CI_COMMIT_REF_NAME =~ /^integrate\/gitlab-ci\/.*/
......
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