What’s New
A new logical statement has been added to the config called matches
, which takes a map with two parameters: pattern
and value
. If the value is a regex match to pattern
, the value will be returned as true
. This type of regex matching in when
statements enables customers who want to filter individual steps or entire workflows based upon branch
or tag
to do so in a more consistent way that matches whatever logic they want to use.
For more information about this addition to the configuration, refer to the CircleCI Configuration Reference documentation, which can be found here:
You may also refer to the following Canny post, which is resolved by this feature: