diff --git a/skyvern/forge/sdk/workflow/models/block.py b/skyvern/forge/sdk/workflow/models/block.py index 73bcece3..21d5abf3 100644 --- a/skyvern/forge/sdk/workflow/models/block.py +++ b/skyvern/forge/sdk/workflow/models/block.py @@ -673,9 +673,9 @@ class UploadToS3Block(Block): client = self.get_async_aws_client() # is the file path a file or a directory? if os.path.isdir(self.path): - # get all files in the directory, if there are more than 10 files, we will not upload them + # get all files in the directory, if there are more than 25 files, we will not upload them files = os.listdir(self.path) - if len(files) > 10: + if len(files) > 25: raise ValueError("Too many files in the directory, not uploading") for file in files: # if the file is a directory, we will not upload it