mirror of
https://github.com/primer/css.git
synced 2024-11-30 11:17:05 +03:00
check whether TRAVIS_PULL_REQUEST is "false"
This commit is contained in:
parent
15f6a1c484
commit
4cb23f6097
@ -8,7 +8,7 @@ args=$@
|
|||||||
branch=$TRAVIS_BRANCH
|
branch=$TRAVIS_BRANCH
|
||||||
|
|
||||||
# the presence of $TRAVIS_PULL_REQUEST tells us whether this is a pull request
|
# the presence of $TRAVIS_PULL_REQUEST tells us whether this is a pull request
|
||||||
if [[ "$TRAVIS_PULL_REQUEST" != "" ]]; then
|
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
|
||||||
target_branch=$TRAVIS_PULL_REQUEST_BRANCH
|
target_branch=$TRAVIS_PULL_REQUEST_BRANCH
|
||||||
# if the *source* branch begins with "release"
|
# if the *source* branch begins with "release"
|
||||||
if [[ "$branch" =~ ^release ]]; then
|
if [[ "$branch" =~ ^release ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user