Skip to content

Commit

Permalink
fix: exclude workflows files
Browse files Browse the repository at this point in the history
Refs: #18
  • Loading branch information
mbarre committed May 3, 2022
1 parent f2fc524 commit a71ca1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh -l

cd /github/workspace/
yamlfixer $OPTIONS --nochange --recurse -1 --diffto /tmp/changes.patch . $YAML_FILE
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 a71ca1e

Please sign in to comment.