aboutsummaryrefslogtreecommitdiff
path: root/infra/presubmit.py
diff options
context:
space:
mode:
authorOliver Chang <oliverchang@users.noreply.github.com>2020-12-10 09:49:27 +1100
committerGitHub <noreply@github.com>2020-12-10 09:49:27 +1100
commit84faf557299268508cef5d2a0adfcc882f6f7478 (patch)
tree6628417b684047719f2419af52bbf24492138fa8 /infra/presubmit.py
parent45be5bd6f6bbaf6e23dbfeb062b318f5f6458c22 (diff)
downloadoss-fuzz-84faf557299268508cef5d2a0adfcc882f6f7478.tar.gz
Populate a bunch of main_repo values. (#4815)
Also enforce this for future integrations.
Diffstat (limited to 'infra/presubmit.py')
-rwxr-xr-xinfra/presubmit.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/presubmit.py b/infra/presubmit.py
index 409c41ff9..b85af5bef 100755
--- a/infra/presubmit.py
+++ b/infra/presubmit.py
@@ -93,6 +93,7 @@ class ProjectYamlChecker:
'labels', # For internal use only, hard to lint as it uses fuzzer names.
'main_repo',
'primary_contact',
+ 'run_tests',
'sanitizers',
'selective_unpack',
'vendor_ccs',
@@ -109,7 +110,7 @@ class ProjectYamlChecker:
# Note that some projects like boost only have auto-ccs. However, forgetting
# primary contact is probably a mistake.
- REQUIRED_SECTIONS = ['primary_contact']
+ REQUIRED_SECTIONS = ['primary_contact', 'main_repo']
def __init__(self, filename):
self.filename = filename