Skip to content

Commit a71ca1e

Browse files
committed
fix: exclude workflows files
Refs: #18
1 parent f2fc524 commit a71ca1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh -l
22

33
cd /github/workspace/
4-
yamlfixer $OPTIONS --nochange --recurse -1 --diffto /tmp/changes.patch . $YAML_FILE
4+
yamlfixer $OPTIONS --nochange --diffto /tmp/changes.patch $(git ls-files '*.yaml' '*.yml' '.yamllint' | grep -v ^.github/workflows/) $YAML_FILE
55

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

0 commit comments

Comments
 (0)