From 98db81c6a5c7d1a89f18c834848344ac336e357d Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 27 Aug 2024 21:28:35 +0200 Subject: [PATCH] dd --- .gitea/workflows/shellcheck.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/shellcheck.yaml b/.gitea/workflows/shellcheck.yaml index a8270a4..c94406f 100644 --- a/.gitea/workflows/shellcheck.yaml +++ b/.gitea/workflows/shellcheck.yaml @@ -12,11 +12,10 @@ jobs: - name: Run shellcheck uses: docker://koalaman/shellcheck-alpine:v0.10.0 - with: - args: | - 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 - file_path=$(echo "$line" | awk -F':' '{print $1}') - shellcheck "$file_path" - fi - done + run: | + 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 + file_path=$(echo "$line" | awk -F':' '{print $1}') + shellcheck "$file_path" + fi + done