From 5812c813cb6f74b1965870bbf4671e8fcd51dc9d Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Tue, 1 Dec 2020 10:14:11 +0100 Subject: [PATCH] fix(assert-changed-files): don't skip running tests on master (#28400) --- scripts/assert-changed-files.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/assert-changed-files.sh b/scripts/assert-changed-files.sh index 486b29e039971..649fb3060f16c 100755 --- a/scripts/assert-changed-files.sh +++ b/scripts/assert-changed-files.sh @@ -3,6 +3,11 @@ IS_CI="${CI:-false}" GREP_PATTERN=$1 +if [ "$CIRCLE_BRANCH" = "master" ]; then + echo "On master branch; continuing." + exit 0 +fi + if [ "$IS_CI" = true ]; then git config --local url."https://github.com/".insteadOf git@github.com: git config --local user.name "GatsbyJS Bot"