We have a trigger that kicks off a build any time we check into our source control. However, there are some files that we want whitelisted, so that they do not trigger a build. We are currently filtering any file that is in /main, using the argument:
--filter="rep:OurRepository,br:/main"
If we want to prevent filter out a specific file (or ideally, folder) from inclusion in the trigger, how can we do that?
Trigger documentation states that it utilizes regular expressions. Do we need to use a negative lookbehind, or lookahead? Has this been tested, and if so, what was the syntax used? Is there another way this can be accomplished without use of regex?