Skip to content

Commit 9bd7df8

Browse files
committed
doc: update action.yml description and logg yamlfixer command
1 parent 896ea47 commit 9bd7df8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ branding :
77

88
inputs:
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"

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
cd /github/workspace/
44
yamlfixer $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

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

0 commit comments

Comments
 (0)