Skip to content

Commit

Permalink
Ignore a SVG-related warning 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 30218c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ jobs:

- name: "Check for warnings emitted by xml2rfc"
run: |
bash -c -o pipefail 'make |& (! grep -E "Warning|Error")'
chmod +x .github/workflows/make-with-lints.sh
bash -c -o pipefail .github/workflows/make-with-lints.sh
3 changes: 3 additions & 0 deletions .github/workflows/make-with-lints.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
make |& \
(! 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.') | \
(! grep -E "Warning|Error")

0 comments on commit 30218c7

Please sign in to comment.