From 49a6513eb8d21b4bc62a086c43044f22d012f12d Mon Sep 17 00:00:00 2001 From: Anton Miniailo Date: Thu, 16 May 2024 15:55:53 -0400 Subject: [PATCH] Ignore snapshot files during PR 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 7ffa45b4..00d9377b 100644 --- a/bot/internal/bot/bot.go +++ b/bot/internal/bot/bot.go @@ -278,6 +278,7 @@ func skipFileForSizeCheck(name string) bool { strings.HasSuffix(name, "_pb.grpc-server.ts") || strings.HasSuffix(name, "_pb.client.ts") || strings.HasSuffix(name, ".json") || + strings.HasSuffix(name, ".snap") || strings.Contains(name, "webassets/") || strings.Contains(name, "vendor/") || isCRDRegex.MatchString(name)