diff --git a/.github/workflows/reusable-static-pr-ci.yml b/.github/workflows/reusable-static-pr-ci.yml index 6edc1a2..f63c2c0 100644 --- a/.github/workflows/reusable-static-pr-ci.yml +++ b/.github/workflows/reusable-static-pr-ci.yml @@ -39,7 +39,9 @@ jobs: echo "No JSON files found." exit 0 fi - python3 -m json.tool "${files[@]}" > /dev/null + for file in "${files[@]}"; do + python3 -m json.tool "$file" > /dev/null + done - name: Validate YAML files run: |