Skip to content

Commit 97009ac

Browse files
committed
Build/Test Tools: Unify the notation used for version ranges when filtering workflow triggers by branch and tag.
Props jorbin, desrosj, johnbillion See #63170 git-svn-id: https://develop.svn.wordpress.org/trunk@61082 602fd350-edb4-49c9-b593-d223f7449a82
1 parent bba270a commit 97009ac

File tree

6 files changed

+22
-18
lines changed

6 files changed

+22
-18
lines changed

.github/workflows/coding-standards.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ on:
99
- '3.[89]'
1010
- '[4-9].[0-9]'
1111
tags:
12-
- '[0-9]+.[0-9]'
13-
- '[0-9]+.[0-9].[0-9]+'
14-
- '!3.7.[0-9]+'
12+
- '3.[89]'
13+
- '3.[89].[0-9]+'
14+
- '[4-9].[0-9]'
15+
- '[4-9].[0-9].[0-9]+'
1516
pull_request:
1617
branches:
1718
- trunk

.github/workflows/end-to-end-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
- '5.[3-9]'
99
- '[6-9].[0-9]'
1010
tags:
11-
- '[0-9]+.[0-9]'
12-
- '[0-9]+.[0-9].[0-9]+'
13-
- '![34].[0-9].[0-9]+'
14-
- '!5.[0-2].[0-9]+'
11+
- '5.[3-9]'
12+
- '5.[3-9].[0-9]+'
13+
- '[6-9]+.[0-9]'
14+
- '[6-9]+.[0-9].[0-9]+'
1515
pull_request:
1616
branches:
1717
- trunk

.github/workflows/javascript-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ on:
88
- '3.[89]'
99
- '[4-9].[0-9]'
1010
tags:
11-
- '[0-9]+.[0-9]'
12-
- '[0-9]+.[0-9].[0-9]+'
13-
- '!3.7.[0-9]+'
11+
- '3.[89]'
12+
- '3.[89].[0-9]+'
13+
- '[4-9].[0-9]'
14+
- '[4-9].[0-9].[0-9]+'
1415
pull_request:
1516
branches:
1617
- trunk

.github/workflows/local-docker-environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Local Docker Environment
22

33
on:
4+
# Local Docker environment testing was introduced in WordPress 6.8.
45
push:
56
branches:
67
- trunk

.github/workflows/performance.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Performance Tests
22

33
on:
4+
# Performance testing was introduced in WordPress 6.2.
45
push:
56
branches:
67
- trunk
78
- '6.[2-9]'
89
- '[7-9].[0-9]'
910
tags:
10-
- '[0-9]+.[0-9]'
11-
- '[0-9]+.[0-9].[0-9]+'
12-
- '![45].[0-9].[0-9]+'
13-
- '!6.[01].[0-9]+'
11+
- '6.[2-9]'
12+
- '6.[2-9].[0-9]+'
13+
- '[7-9].[0-9]'
14+
- '[7-9].[0-9].[0-9]+'
1415
pull_request:
1516
branches:
1617
- trunk

.github/workflows/php-compatibility.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
- '5.[5-9]'
99
- '[6-9].[0-9]'
1010
tags:
11-
- '[0-9]+.[0-9]'
12-
- '[0-9]+.[0-9].[0-9]+'
13-
- '![34].[0-9].[0-9]+'
14-
- '!5.[0-4].[0-9]+'
11+
- '5.[5-9]'
12+
- '5.[5-9].[0-9]+'
13+
- '[6-9].[0-9]'
14+
- '[6-9].[0-9].[0-9]+'
1515
pull_request:
1616
branches:
1717
- trunk

0 commit comments

Comments
 (0)