diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 0a8d21b..8f5aaf6 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -11,7 +11,7 @@ steps: image: "koalaman/shellcheck-alpine:v0.10.0" commands: - | - find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do + find . -type f -not -path './.git/*' -exec file {} \; | while IFS= read -r line; do if echo "$line" | grep -q "shell script"; then file_path=$(echo "$line" | awk -F':' '{print $1}') shellcheck "$file_path"