From d11a287e9e828bc0693366b80e4f550eeb592d81 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Thu, 22 Dec 2022 20:13:11 +0100 Subject: [PATCH] use other way to for --- .github/workflows/secgen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/secgen.yaml b/.github/workflows/secgen.yaml index 655ddba17f9..51fab8c4920 100644 --- a/.github/workflows/secgen.yaml +++ b/.github/workflows/secgen.yaml @@ -93,7 +93,7 @@ jobs: } for train in stable SCALE incubator games enterprise develop non-free deprecated dependency core; do - for chart in charts/${train}/*; do + for chart in $(ls "$charts_path/$train"); do chartname="$(basename "$(dirname "${chart}")")" if [ -d "${chart}" ]; then helm_sec_scan ${chart} ${chartname} ${train}