Move the pull request job into a shell script so we can version control it