Jenkins job perform if change in folder in merging branch

I’m currently trying to setup a Jenkins job that will activate on a pull request, run on the branch wanting to merge into the head branch to see if a folder has been modified, then perform a dryrun on it when there was a modification to said folder. I’m trying to avoid using worker setups and the GitHub Pull Request Builder. Anyone have any suggestions?