Skip to content

Commit 043cee5

Browse files
mmalerbajelbourn
authored andcommitted
chore: use regex to whitelist branches for CI (#12439)
1 parent 0bf2d82 commit 043cee5

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,7 @@ general:
6969
branches:
7070
only:
7171
- master
72+
# 5.2.x, 6.0.x, etc
73+
- /\d+\.\d+\.x/
74+
# 5.x, 6.x, etc
75+
- /\d+\.x/

.travis.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@ addons:
1818
branches:
1919
only:
2020
- master
21-
- 5.0.x
22-
- 5.1.x
23-
- 5.2.x
24-
- 6.0.x
25-
- 6.1.x
26-
- 6.2.x
27-
- 6.3.x
21+
# 5.2.x, 6.0.x, etc
22+
- /\d+\.\d+\.x/
23+
# 5.x, 6.x, etc
24+
- /\d+\.x/
2825

2926
jobs:
3027
include:

0 commit comments

Comments
 (0)