File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ branding :
77
88inputs :
99 yaml_file :
10- description : " Yaml files to be tested (file without .yml or .yaml extension "
10+ description : " Yaml files to be tested. By default, all files except the ones in .github/workflows/ are linted. "
1111 required : false
1212 options :
1313 description : " Yamlfixer execution options"
Original file line number Diff line number Diff line change 22
33cd /github/workspace/
44yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $( git ls-files ' *.yaml' ' *.yml' ' .yamllint' | grep -v ^.github/workflows/) $YAML_FILE
5+ echo " yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $( git ls-files ' *.yaml' ' *.yml' ' .yamllint' | grep -v ^.github/workflows/) $YAML_FILE "
56
67if [[ -s /tmp/changes.patch ]] ; then
78 echo " WARN: all input files didn't pass successfully yamllint strict mode." ;
You can’t perform that action at this time.
0 commit comments