diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6a4ea419..f0813103 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/make-with-lints.sh b/.github/workflows/make-with-lints.sh new file mode 100644 index 00000000..49b273a7 --- /dev/null +++ b/.github/workflows/make-with-lints.sh @@ -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")