Skip to content

Commit

Permalink
doc: update action.yml description and logg yamlfixer command
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarre committed May 3, 2022
1 parent 896ea47 commit 9bd7df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ branding :

inputs:
yaml_file:
description: "Yaml files to be tested (file without .yml or .yaml extension"
description: "Yaml files to be tested. By default, all files except the ones in .github/workflows/ are linted."
required: false
options:
description: "Yamlfixer execution options"
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

cd /github/workspace/
yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $(git ls-files '*.yaml' '*.yml' '.yamllint' | grep -v ^.github/workflows/) $YAML_FILE
echo "yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $(git ls-files '*.yaml' '*.yml' '.yamllint' | grep -v ^.github/workflows/) $YAML_FILE"

if [[ -s /tmp/changes.patch ]] ; then
echo "WARN: all input files didn't pass successfully yamllint strict mode." ;
Expand Down

0 comments on commit 9bd7df8

Please sign in to comment.