diff --git a/templates/validation.yml b/templates/validation.yml index 1d05f651d8ec183cf5da48cbe70a83e3c7b7a0b6..33db09c0a95e7ef4c18df2855f6df38f46c9963a 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 ]]