Enable DoNotSubmit checks in PRESUBMIT

This check will fail if the CL contains the phrase
`DO<SPACE>NOT<SPACE>SUBMIT` in any of the files.

Bug: none
Change-Id: I3055082c90a40de5f5b97208edc9ea895f2f25ca
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5688031
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
This commit is contained in:
Jack Franklin
2024-07-09 11:09:42 +00:00
committed by Devtools-frontend LUCI CQ
parent 2451682e2f
commit 6bc1cbd8bc
+1
View File
@@ -566,6 +566,7 @@ def _CannedChecks(canned_checks):
source_file_filter=lambda file: not file.LocalPath().
startswith('node_modules')),
canned_checks.CheckGenderNeutral,
canned_checks.CheckDoNotSubmitInFiles,
]