Modified build to check for pull request and only run to verify if true