diff options
author | Ravi Mistry <rmistry@google.com> | 2017-09-12 13:52:05 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-12 18:02:20 +0000 |
commit | a70cb8ae9b8a017852c9dafd65efb44946072679 (patch) | |
tree | 9bfdee13946fb442a2dab9b2849216a57b943cc1 /PRESUBMIT.py | |
parent | 0fa353c6c275fe79c2ba317a8bdf4cb87eef19a7 (diff) |
Add checks for 'DO NOT''SUBMIT' in description and file content
NoTry: true
Bug: skia:
Change-Id: I5ce8c40a7deae690b04e7fbe4ac22fa63888ffc7
Reviewed-on: https://skia-review.googlesource.com/45882
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index f1c80d3b52..3eb71a53f1 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -621,4 +621,8 @@ def CheckChangeOnCommit(input_api, output_api): SKIA_TREE_STATUS_URL + '/banner-status?format=json'))) results.extend(_CheckLGTMsForPublicAPI(input_api, output_api)) results.extend(_CheckOwnerIsInAuthorsFile(input_api, output_api)) + # Checks for the presence of 'DO NOT''SUBMIT' in CL description and in + # content of files. + results.extend( + input_api.canned_checks.CheckDoNotSubmit(input_api, output_api)) return results |