diff --git a/templates/gitlab-ci-bash.yml b/templates/gitlab-ci-bash.yml index 89a065013caf3e0667a448a57fb8e95a300a9ad6..b83d7be62c7fd3a5a0b36345d193a29e6e00648f 100644 --- a/templates/gitlab-ci-bash.yml +++ b/templates/gitlab-ci-bash.yml @@ -49,6 +49,11 @@ spec: Example: `bats-support@https://github.com/bats-core/bats-support/archive/v0.3.0.zip bats-assert@https://github.com/bats-core/bats-assert/archive/v2.0.0.zip` default: '' + bash-shellcheck-job-tags: + description: tags to filter applicable runners for bash-shellcheck job + type: array + default: [] + --- # default workflow rules: Merge Request pipelines workflow: @@ -308,6 +313,7 @@ bash-shellcheck: - if: '$BASH_SHELLCHECK_DISABLED == "true"' when: never - !reference [.test-policy, rules] + tags: [[ inputs.bash-shellcheck-job-tags ]] bash-bats: extends: .bash-base