Skip to content

Commit

Permalink
Merge pull request #254 from gravitational/anton/ignore-snapshots
Browse files Browse the repository at this point in the history
Ignore snapshot files during PR size check.
  • Loading branch information
AntonAM authored May 16, 2024
2 parents 637fb40 + 49a6513 commit 01a3625
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/internal/bot/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 01a3625

Please sign in to comment.