From ada53e7ca0f04a33711c330a130d34376e5ecc2b Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 25 Oct 2020 09:13:43 -0700 Subject: [PATCH] make the regexes for branches more strict (#5504) We don't want them to build when dependabot makes a branch like dependabot/github_actions/actions/upload-artifact-v2.2.0. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 29349ed87109..b0f0fe78d6e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,8 @@ cache: branches: only: - master - - /\d+\.\d+\.x/ - - /\d+\.\d+(\.\d+)?/ + - /^\d+\.\d+\.x$/ + - /^\d+\.\d+(\.\d+)?$/ matrix: include: