Add presubmit check for LUCI config
No-Presubmit: True
Change-Id: I08c277625db464f1c4735f53944d982fce5b50d8
Reviewed-on: https://webrtc-review.googlesource.com/78980
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
new file mode 100644
index 0000000..91dbde8
--- /dev/null
+++ b/PRESUBMIT.py
@@ -0,0 +1,11 @@
+# Copyright (c) 2018 The WebRTC project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+def CheckChangeOnUpload(input_api, output_api):
+ return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
+
+
+def CheckChangeOnCommit(input_api, output_api):
+ return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)