Make WordPress Core


Ignore:
Timestamp:
07/20/2022 06:39:16 PM (3 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/php-compatibility.yml

    r53582 r53736  
    99      - '[6-9].[0-9]'
    1010    tags:
    11       - '5.[5-9]*'
    12       - '[6-9].[0-9]*'
     11      - '[0-9]+.[0-9]'
     12      - '[0-9]+.[0-9].[0-9]+'
     13      - '![34].[0-9].[0-9]+'
     14      - '!5.[0-4].[0-9]+'
    1315  pull_request:
    1416    branches:
Note: See TracChangeset for help on using the changeset viewer.