File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh -l
22
33cd /github/workspace/
4- res=$( git ls-files ' *.yaml' ' *.yml' ' .yamllint' )
5- echo git-command result : $res
6- yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $( git ls-files ' *.yaml' ' *.yml' ' .yamllint' | grep -v ^.github/workflows/) $YAML_FILE
7- echo " yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $( git ls-files ' *.yaml' ' *.yml' ' .yamllint' | grep -v ^.github/workflows/) $YAML_FILE "
4+ yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $( find . -type f -name " *.yml" -o -name " *.yaml" -o -name " .yamllint" | grep -v ^./.github/workflows/) $YAML_FILE
5+ echo " yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $( find . -type f -name " *.yml" -o -name " *.yaml" -o -name " .yamllint" | grep -v ^./.github/workflows/) $YAML_FILE "
86
97if [[ -s /tmp/changes.patch ]] ; then
108 echo " WARN: all input files didn't pass successfully yamllint strict mode." ;
You can’t perform that action at this time.
0 commit comments