mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Build/Test Tools: Make the GitHub Action pattern matching for tags more specific.
This improves the tag pattern matching for GitHub Action workflows to be more specific. The `*` wildcard in the current patterns matches any character except slash (`/`). While this correctly matches a version like `X.Y.Z`, it could also match non-numeric characters. This changes patterns to use the `+` character, which matches one or more of the preceding characters (`[0-9]` in this case). See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@53736 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b2b8a0c3d2
commit
f6e21e2806
5
.github/workflows/coding-standards.yml
vendored
5
.github/workflows/coding-standards.yml
vendored
@ -9,8 +9,9 @@ on:
|
||||
- '3.[89]'
|
||||
- '[4-9].[0-9]'
|
||||
tags:
|
||||
- '3.[89]*'
|
||||
- '[4-9].[0-9]*'
|
||||
- '[0-9]+.[0-9]'
|
||||
- '[0-9]+.[0-9].[0-9]+'
|
||||
- '!3.7.[0-9]+'
|
||||
pull_request:
|
||||
branches:
|
||||
- trunk
|
||||
|
6
.github/workflows/end-to-end-tests.yml
vendored
6
.github/workflows/end-to-end-tests.yml
vendored
@ -8,8 +8,10 @@ on:
|
||||
- '5.[3-9]'
|
||||
- '[6-9].[0-9]'
|
||||
tags:
|
||||
- '5.[3-9]*'
|
||||
- '[6-9].[0-9]*'
|
||||
- '[0-9]+.[0-9]'
|
||||
- '[0-9]+.[0-9].[0-9]+'
|
||||
- '![34].[0-9].[0-9]+'
|
||||
- '!5.[0-2].[0-9]+'
|
||||
pull_request:
|
||||
branches:
|
||||
- trunk
|
||||
|
5
.github/workflows/javascript-tests.yml
vendored
5
.github/workflows/javascript-tests.yml
vendored
@ -8,8 +8,9 @@ on:
|
||||
- '3.[89]'
|
||||
- '[4-9].[0-9]'
|
||||
tags:
|
||||
- '3.[89]*'
|
||||
- '[4-9].[0-9]*'
|
||||
- '[0-9]+.[0-9]'
|
||||
- '[0-9]+.[0-9].[0-9]+'
|
||||
- '!3.7.[0-9]+'
|
||||
pull_request:
|
||||
branches:
|
||||
- trunk
|
||||
|
6
.github/workflows/php-compatibility.yml
vendored
6
.github/workflows/php-compatibility.yml
vendored
@ -8,8 +8,10 @@ on:
|
||||
- '5.[5-9]'
|
||||
- '[6-9].[0-9]'
|
||||
tags:
|
||||
- '5.[5-9]*'
|
||||
- '[6-9].[0-9]*'
|
||||
- '[0-9]+.[0-9]'
|
||||
- '[0-9]+.[0-9].[0-9]+'
|
||||
- '![34].[0-9].[0-9]+'
|
||||
- '!5.[0-4].[0-9]+'
|
||||
pull_request:
|
||||
branches:
|
||||
- trunk
|
||||
|
4
.github/workflows/phpunit-tests.yml
vendored
4
.github/workflows/phpunit-tests.yml
vendored
@ -7,8 +7,8 @@ on:
|
||||
- '3.[7-9]'
|
||||
- '[4-9].[0-9]'
|
||||
tags:
|
||||
- '3.[7-9]*'
|
||||
- '[4-9].[0-9]*'
|
||||
- '[0-9]+.[0-9]'
|
||||
- '[0-9]+.[0-9].[0-9]+'
|
||||
pull_request:
|
||||
branches:
|
||||
- trunk
|
||||
|
Loading…
x
Reference in New Issue
Block a user