diff --git a/.github/workflows/validate_yamllint.yml b/.github/workflows/validate_yamllint.yml index cd00345..07a284f 100644 --- a/.github/workflows/validate_yamllint.yml +++ b/.github/workflows/validate_yamllint.yml @@ -21,16 +21,12 @@ jobs: files: '**/*.y*ml' separator: "," - #- name: Validate YAML - # if: steps.changed-files.outputs.any_changed == 'true' - # run: | - # yamllint -c ./.rules/yamllint.yml -f github -s ${{ steps.changed-files.outputs.all_changed_files }} - - name: Validate YAML if: steps.changed-files.outputs.any_changed == 'true' run: | IFS=',' read -ra FILES <<< "${{ steps.changed-files.outputs.all_changed_files }}" for file in "${FILES[@]}"; do - echo "Validating $file" + echo "::group::Validating $file" yamllint -c "./.rules/yamllint.yml" "$file" + echo "::endgroup::" done