dd
Some checks failed
linter / gitleaks (push) Successful in 3s
linter / hadolint (push) Successful in 3s
linter / shellcheck (push) Failing after 2s

This commit is contained in:
Michael Grote 2024-08-27 21:34:55 +02:00
parent 79fd167c65
commit 742a2e749a

View file

@ -32,9 +32,5 @@ jobs:
with: with:
image: koalaman/shellcheck-alpine:v0.10.0 image: koalaman/shellcheck-alpine:v0.10.0
run: | run: |
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do shellcheck shell.sh
if echo "$line" | grep -q "shell script"; then # shellcheck file2
file_path=$(echo "$line" | awk -F':' '{print $1}')
shellcheck "$file_path"
fi
done