From 021342c4c9d7b5f1caca2bfb1a24a13d0b0a3495 Mon Sep 17 00:00:00 2001
From: "Benguria Elguezabal, Gorka" <gorka.benguria@tecnalia.com>
Date: Fri, 10 May 2024 13:15:31 +0200
Subject: [PATCH] adds runner tag support

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

diff --git a/templates/validation.yml b/templates/validation.yml
index 1d05f65..33db09c 100644
--- a/templates/validation.yml
+++ b/templates/validation.yml
@@ -1,3 +1,16 @@
+spec:
+  inputs:
+    check-links-job-tags:
+      description: tags to filter applicable runners for check-links build job
+      type: array
+      default: []
+    tbc-check-job-tags:
+      description: tags to filter applicable runners for tbc-checklinks build job
+      type: array
+      default: []
+
+---
+
 .lint-scripts: &lint-scripts |
   set -e
   function log_info() {
@@ -69,6 +82,7 @@ check-links:
   stage: build
   script:
     - lychee --exclude www.gnu.org --exclude-path CHANGELOG.md --exclude-path SECURITY.md $LYCHEE_EXTRA_OPTS *.md
+  tags: $[[ inputs.check-links-job-tags ]]
 
 tbc-check:
   image:
@@ -80,3 +94,4 @@ tbc-check:
   rules:
     - exists:
       - kicker.json
+  tags: $[[ inputs.tbc-check-job-tags ]]
-- 
GitLab