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 9b21126
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ jobs:
run: "bash -c '! grep -r --file=rejected_dictionary draft-irtf-cfrg-vdaf.md poc'"

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

set -e

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 9b21126

Please sign in to comment.