From 354539894642f2df6002051cffd843b327f54661 Mon Sep 17 00:00:00 2001
From: "Benguria Elguezabal, Gorka" <gorka.benguria@tecnalia.com>
Date: Sun, 12 May 2024 22:25:52 +0200
Subject: [PATCH] adds job runner tags

---
 templates/validation.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/templates/validation.yml b/templates/validation.yml
index cff572e..370a9bc 100644
--- a/templates/validation.yml
+++ b/templates/validation.yml
@@ -12,6 +12,10 @@ spec:
       description: image to use for tbc-check job
       type: string
       default: registry.gitlab.com/to-be-continuous/tools/tbc-check:latest
+    gitlab-ci-lint-job-tags:
+      description: tags to filter applicable runners for gitlab-ci-lint build job
+      type: array
+      default: []
 
 ---
 
@@ -78,6 +82,7 @@ gitlab-ci-lint:
   rules:
     # enabled if $GITLAB_TOKEN and GITLAB_CI_FILES are set
     - if: '($GITLAB_TOKEN != null && $GITLAB_TOKEN != "") && $GITLAB_CI_FILES'
+  tags: $[[ inputs.gitlab-ci-lint-job-tags ]]
 
 check-links:
   image: 
-- 
GitLab