I'm unsure if this is a bug with Bamboo 6.7.1 or if it's an issue in my configuration.
We have a mono repo setup and want to trigger changes on a particular directory. Our repository is added to our bamboo project with "Change detection options"'s "Include only changes that match" a regex of this
^autoscale\/.*
This seems to work correctly for when code is committed to the master branch but individual branches will always build even for this project when there are changes to the other directories that don't match that regex.
Under Branches, we create a plan branch when a pull request is created and the trigger is set to "Branch triggers: Same as defined in the parent plan". I think this configuration is the culprit.
How do I configure this to only build master and all other branches ONLY when a change detected matches my regex?