gitlab-ci: move shellcheck to own job fenced by changes:

This commit is contained in:
Hans-Christoph Steiner 2025-03-12 18:21:09 +01:00
parent aa9cc14991
commit 3b9d39ac61
3 changed files with 27 additions and 8 deletions

View file

@ -36,7 +36,7 @@ else
*.rb)
RB_FILES+=" $f"
;;
*.yml|.*.yml|.yamllint)
*.yml|*.yaml|.yamllint)
YML_FILES+=" $f"
;;
*)
@ -66,7 +66,7 @@ cmd_exists() {
}
find_command() {
for name in $@; do
for name in "$@"; do
for suff in "3" "-3" "-python3" ""; do
cmd=${name}${suff}
if cmd_exists $cmd; then