From dc072905b2141092e6ec9b85c52c2c6d4b844a1c Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 16 Mar 2021 12:46:04 -0400 Subject: [PATCH] fail on unsafe html (#3187) * fail on unsafe html * a deliberately unsafe injection attempt * Revert "a deliberately unsafe injection attempt" This reverts commit 8052dc104b0b99ebcf53c6c3e9114f890037fc59. --- .github/workflows/pr-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index cfe92c8733c5e92..73e23470f628197 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -57,7 +57,7 @@ jobs: # this to "*:error" which means the slightest flaw in the build # will break the build. # See https://github.com/mdn/yari/issues/715 - export BUILD_FLAW_LEVELS="*:ignore" + export BUILD_FLAW_LEVELS="unsafe_html: error, *:ignore" # Note, it might be interesting to explore building *some* # pages in a PR build if the diff doesn't have any index.html