Skip to content

Commit 0de905f

Browse files
Update actions (#603)
Signed-off-by: Knative Automation <[email protected]>
1 parent b747076 commit 0de905f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/knative-style.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ jobs:
149149
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
150150
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
151151
grep -Ev '^(vendor/|third_party/|.git)' |
152+
grep -v '\.svg$' |
152153
xargs misspell -i importas -error |
153154
reviewdog -efm="%f:%l:%c: %m" \
154155
-name="github.com/client9/misspell" \
@@ -179,6 +180,7 @@ jobs:
179180
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
180181
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
181182
grep -Ev '^(vendor/|third_party/|.git)' |
183+
grep -v '\.svg$' |
182184
xargs grep -nE " +$" |
183185
reviewdog -efm="%f:%l:%m" \
184186
-name="trailing whitespace" \
@@ -211,7 +213,8 @@ jobs:
211213
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
212214
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
213215
grep -Ev '^(vendor/|third_party/|.git)' |
214-
grep -v '\.ai$')
216+
grep -v '\.ai$' |
217+
grep -v '\.svg$')
215218
216219
for x in $LINT_FILES; do
217220
# Based on https://stackoverflow.com/questions/34943632/linux-check-if-there-is-an-empty-line-at-the-end-of-a-file

0 commit comments

Comments
 (0)