Closed ryan-roemer closed 7 years ago
I don't want to limit the review apps to pull requests that only target master
. And even with this setup, we'd still need the $TRAVIS_PULL_REQUEST
check to make sure we are not releasing on master builds.
FWIW the solution used in appr is also recommended in the Travis docs: https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions
As an additional / optional config this section: https://github.com/FormidableLabs/appr#add-travisyml-to-your-project I thought the recommendation for "only PRs + master" was more canonically: