A generic pull request hook