From 58ab75423a8017a5eb1ba084f17d3789fe98705b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 4 Sep 2018 22:33:29 +0100 Subject: [PATCH] fix(ci): greenkeeper stage should only run for /^greenkeeper.*/ branches --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index c5789face..d5cc3196f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,10 @@ env: jobs: include: - stage: Greenkeeper + # this stage only runs for branches with name starting with "greenkeeper" + # it only needs to run as part of a PR send by Greenkeeper bot, it doesn't + # do anything for other branches or PRs + if: branch =~ /^greenkeeper.*/ <<: *DEFAULTS_JS script: - make greenkeeper-lockfile