build: properly detect pull requests