Mergifyio / mergify

Mergify Community Issue Tracker
https://mergify.com
Apache License 2.0
318 stars 91 forks source link

length of value must be at most 100 for dictionary value @ pull_request_rules → item 0 → conditions #5106

Closed hongbo-miao closed 5 months ago

hongbo-miao commented 5 months ago

Behavior

My Mergify config has not been changed for a while. But today I started to get this error in Mergify:

The current Mergify configuration is invalid length of value must be at most 100 for dictionary value @ pull_request_rules → item 0 → conditions

Any ideas? Thanks! ☺️

Specifications

hongbo-miao commented 5 months ago

I figured out, it means conditions in my Mergify config cannot have over 100 elements. My repo is open source and kind of large having tons of tests, Mergify works well before, is this a new limit added today? Is it possible to increase it? Thanks! :smiley:

sileht commented 5 months ago

Sure, we increased the limit to 500, we just don’t want it to be infinite. The change should land in production soon

hongbo-miao commented 5 months ago

Thanks @sileht for helping increase, it works well now! ☀️