Add labelName to connect back-end checks with submit requirements
Follow-up for change 319102
Google-Bug-Id: b/203624234
Change-Id: Ia409744ab8356f98125d9071f5675a2d6e2ae8fb
diff --git a/web/fetcher.ts b/web/fetcher.ts
index f2b19d6..00a8187 100644
--- a/web/fetcher.ts
+++ b/web/fetcher.ts
@@ -87,7 +87,11 @@
if (checkerName === 'Code Style') {
return 'Code-Style';
}
- if (checkerName === 'PolyGerrit UI Tests') {
+ if (
+ checkerName === 'PolyGerrit UI Tests' ||
+ checkerName === 'Build/Tests' ||
+ checkerName === 'RBE Build/Tests'
+ ) {
return 'Verified';
}
return checkerName;