Ability to run jobs depending on what files are changed

This is a duplicate of How to skip jobs based on the files changed in a subdirectory?.