Script to check pull requests