dd
Some checks failed
gitleaks / gitleaks (push) Failing after 0s

This commit is contained in:
Michael Grote 2024-08-27 21:28:35 +02:00
parent 59bc18b8b9
commit 98db81c6a5

View file

@ -12,11 +12,10 @@ jobs:
- name: Run shellcheck - name: Run shellcheck
uses: docker://koalaman/shellcheck-alpine:v0.10.0 uses: docker://koalaman/shellcheck-alpine:v0.10.0
with: run: |
args: | find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do if echo "$line" | grep -q "shell script"; then
if echo "$line" | grep -q "shell script"; then file_path=$(echo "$line" | awk -F':' '{print $1}')
file_path=$(echo "$line" | awk -F':' '{print $1}') shellcheck "$file_path"
shellcheck "$file_path" fi
fi done
done