diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6a4ea419..64af0dbd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,4 +19,4 @@ jobs: - name: "Check for warnings emitted by xml2rfc" run: | - bash -c -o pipefail 'make |& (! grep -E "Warning|Error")' + bash -c -o pipefail .github/workflows/make-with-lints.sh diff --git a/.github/workflows/make-with-lints.sh b/.github/workflows/make-with-lints.sh new file mode 100644 index 00000000..7171c717 --- /dev/null +++ b/.github/workflows/make-with-lints.sh @@ -0,0 +1,2 @@ +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.')