Only triggers a build if a regex is matched