commit | 8c62329f60a84b814e2762449afe74a0bd2191b5 | [log] [tgz] |
---|---|---|
author | Edward Lesmes <[email protected]> | Mon Dec 14 22:46:55 2020 |
committer | Chromium LUCI CQ <[email protected]> | Mon Dec 14 22:46:55 2020 |
tree | 63c92b904b867f1a33d935a6dae1a159196488a3 | |
parent | 7fdb82f2cba799e3b3b81e1304cd4a091e095c98 [diff] [blame] |
[presubmit] Add check to prevent new metadata in OWNERS files. Presubmit check added in crrev.com/c/2582566 Bug: 1113033 Change-Id: I09802343bd11d3f5f044cda4cea3aa8e58c8c398 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2583464 Commit-Queue: Edward Lesmes <[email protected]> Auto-Submit: Edward Lesmes <[email protected]> Reviewed-by: Dirk Pranke <[email protected]> Cr-Commit-Position: refs/heads/master@{#836821}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 6f4005ce..c3b5701a7 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py
@@ -4388,6 +4388,9 @@ results.extend( input_api.canned_checks.CheckOwnersDirMetadataExclusive( input_api, output_api)) + results.extend( + input_api.canned_checks.CheckNoNewMetadataInOwners( + input_api, output_api)) for f in input_api.AffectedFiles(): path, name = input_api.os_path.split(f.LocalPath())