Check for branch master and pull request to avoid pushing