Skip to content

Commit

Permalink
Ignore new TypeScript protobufs during size check
Browse files Browse the repository at this point in the history
  • Loading branch information
ravicious authored and zmb3 committed Jan 26, 2024
1 parent 18bac5c commit ba057b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bot/internal/bot/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ func skipFileForSizeCheck(name string) bool {
strings.HasSuffix(name, ".pb.go") ||
strings.HasSuffix(name, "_pb.js") ||
strings.HasSuffix(name, "_pb.d.ts") ||
strings.HasSuffix(name, "_pb.ts") ||
strings.HasSuffix(name, "_pb.grpc-client.ts") ||
strings.HasSuffix(name, "_pb.grpc-server.ts") ||
strings.HasSuffix(name, ".json") ||
strings.Contains(name, "webassets/") ||
strings.Contains(name, "vendor/") ||
Expand Down

0 comments on commit ba057b2

Please sign in to comment.