Skip to content

Commit

Permalink
Ignore SVG warnings during document linting
Browse files Browse the repository at this point in the history
  • Loading branch information
cjpatton committed Jan 8, 2025
1 parent d5242cc commit 2984086
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Lint Document"
uname: "Lint Document"

on:
push:
Expand All @@ -19,4 +19,8 @@ jobs:

- name: "Check for warnings emitted by xml2rfc"
run: |
bash -c -o pipefail 'make |& (! grep -E "Warning|Error")'
bash -c -o pipefail <<"EOF"
make |& \
(! grep -E "Warning|Error)") | \
(! grep -v 'Warning: Found SVG with width or height specified, which will make the artwork not scale. Specify a viewBox only to let the artwork scale.')
EOF

0 comments on commit 2984086

Please sign in to comment.