From f5ace96fe669bff1bba7a1f5e3e4a909ef6a2a36 Mon Sep 17 00:00:00 2001 From: Zedifus Date: Wed, 23 Mar 2022 02:12:18 +0000 Subject: [PATCH] Add missing runner tags and triggers for ymllint --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54838ba7..72bac27b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,12 @@ variables: yamllint: stage: lint image: registry.gitlab.com/pipeline-components/yamllint:latest + tags: + - 'docker' + rules: + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS' + when: never script: - yamllint .