bitsbeats / drone-tree-config

Drone helper for mono repositories.
Apache License 2.0
103 stars 24 forks source link

Rate limit hit #34

Closed jlehtimaki closed 3 years ago

jlehtimaki commented 3 years ago

What's the purpose of checking .drone.yml (or some other file) from every folder? Can't it be just checked based on file listing from the API?

We are getting rate limit errors with monorepos since it tries to get Drone config file from every sub folder there is.

foosinn commented 3 years ago

I don't think there is a file listing for all directories as a single api-call. As workaround you can look into the maxdepth, allow_list_file and consider_file options.