Only kicking off if changes are to a specific folder


I’m wondering if it’s possible to only kick off a build if code is checked into a specific folder within a branch. For example, something like (from the circle.yml):

    branch: develop/[MY_FOLDER]

is there any way to accomplish this?



I use git log to see if the last commit includes changes in the relevant folder.