Skip to content

Commit ada53e7

Browse files
authored
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.
1 parent 8be1d4b commit ada53e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ cache:
1313
branches:
1414
only:
1515
- master
16-
- /\d+\.\d+\.x/
17-
- /\d+\.\d+(\.\d+)?/
16+
- /^\d+\.\d+\.x$/
17+
- /^\d+\.\d+(\.\d+)?$/
1818

1919
matrix:
2020
include:

0 commit comments

Comments
 (0)