From eb011895eba007a51ef9750c1e9d45c6b0fe1af6 Mon Sep 17 00:00:00 2001 From: Grzegorz Zdunek Date: Mon, 18 Mar 2024 10:24:53 +0100 Subject: [PATCH] Ignore `protobuf-ts` client files during size check --- bot/internal/bot/bot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/internal/bot/bot.go b/bot/internal/bot/bot.go index e22f0a97..7ffa45b4 100644 --- a/bot/internal/bot/bot.go +++ b/bot/internal/bot/bot.go @@ -276,6 +276,7 @@ func skipFileForSizeCheck(name string) bool { strings.HasSuffix(name, "_pb.ts") || strings.HasSuffix(name, "_pb.grpc-client.ts") || strings.HasSuffix(name, "_pb.grpc-server.ts") || + strings.HasSuffix(name, "_pb.client.ts") || strings.HasSuffix(name, ".json") || strings.Contains(name, "webassets/") || strings.Contains(name, "vendor/") ||