Have a look at https://scriptrunner.adaptavist.com/latest/bitbucket/quickstart.html#_encourage_good_development - there is mention of "conditionally block huge files" which is close, but if you look at the screenshot below the code, you'll see there are example scripts for blocking c++, css and js files, as well as basing it on directory - those examples are REALLY easy to modify for any file name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.