From 5eba0e4c7fa2229a583c9c77e02ee68892e6fcc4 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 11 Aug 2025 18:07:57 +0100 Subject: [PATCH 1/2] Unify the notation used for tag version ranges. --- .github/workflows/end-to-end-tests.yml | 8 ++++---- .github/workflows/javascript-tests.yml | 7 ++++--- .github/workflows/local-docker-environment.yml | 1 + .github/workflows/performance.yml | 9 +++++---- .github/workflows/php-compatibility.yml | 8 ++++---- 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index f78d56c3b8f0a..5073de0aad2e5 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -8,10 +8,10 @@ on: - '5.[3-9]' - '[6-9].[0-9]' tags: - - '[0-9]+.[0-9]' - - '[0-9]+.[0-9].[0-9]+' - - '![34].[0-9].[0-9]+' - - '!5.[0-2].[0-9]+' + - '5.[3-9]' + - '5.[3-9].[0-9]+' + - '[6-9]+.[0-9]' + - '[6-9]+.[0-9].[0-9]+' pull_request: branches: - trunk diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 54ca64ef6a508..231616bf896be 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -8,9 +8,10 @@ on: - '3.[89]' - '[4-9].[0-9]' tags: - - '[0-9]+.[0-9]' - - '[0-9]+.[0-9].[0-9]+' - - '!3.7.[0-9]+' + - '3.[89]' + - '3.[89].[0-9]+' + - '[4-9].[0-9]' + - '[4-9].[0-9].[0-9]+' pull_request: branches: - trunk diff --git a/.github/workflows/local-docker-environment.yml b/.github/workflows/local-docker-environment.yml index bf275abd72205..f476c0a55e406 100644 --- a/.github/workflows/local-docker-environment.yml +++ b/.github/workflows/local-docker-environment.yml @@ -1,6 +1,7 @@ name: Local Docker Environment on: + # Local Docker environment testing was introduced in WordPress 6.8. push: branches: - trunk diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index ff09a5a8f40c2..8685e6a7c8e69 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -1,16 +1,17 @@ name: Performance Tests on: + # Performance testing was introduced in WordPress 6.2. push: branches: - trunk - '6.[2-9]' - '[7-9].[0-9]' tags: - - '[0-9]+.[0-9]' - - '[0-9]+.[0-9].[0-9]+' - - '![45].[0-9].[0-9]+' - - '!6.[01].[0-9]+' + - '6.[2-9]' + - '6.[2-9].[0-9]+' + - '[7-9].[0-9]' + - '[7-9].[0-9].[0-9]+' pull_request: branches: - trunk diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 4ad627af1e24c..662a75ff58023 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -8,10 +8,10 @@ on: - '5.[5-9]' - '[6-9].[0-9]' tags: - - '[0-9]+.[0-9]' - - '[0-9]+.[0-9].[0-9]+' - - '![34].[0-9].[0-9]+' - - '!5.[0-4].[0-9]+' + - '5.[5-9]' + - '5.[5-9].[0-9]+' + - '[6-9].[0-9]' + - '[6-9].[0-9].[0-9]+' pull_request: branches: - trunk From 8da0658d1cc51df29b64d8e7ba35c12d6372d18b Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 11 Aug 2025 18:15:23 +0100 Subject: [PATCH 2/2] And another. --- .github/workflows/coding-standards.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 0a26a87340a33..7cc0fa3662b90 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -9,9 +9,10 @@ on: - '3.[89]' - '[4-9].[0-9]' tags: - - '[0-9]+.[0-9]' - - '[0-9]+.[0-9].[0-9]+' - - '!3.7.[0-9]+' + - '3.[89]' + - '3.[89].[0-9]+' + - '[4-9].[0-9]' + - '[4-9].[0-9].[0-9]+' pull_request: branches: - trunk