added checks so PRs to master don't get deployed

closes #367