Fix DB tag regexp in Hibernate GitHub Bot configuration

Java apparently throws exception when the replacement string references
non-matching groups.

This new regexp no longer relies on optional groups,
and thus should work fine.
This commit is contained in:
Yoann Rodière 2024-04-29 12:51:02 +02:00
parent 46c553dc3c
commit 1c3ac99e44
No known key found for this signature in database
GPG Key ID: C78C6E63D1D81794
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ develocity:
pattern: "s390x"
replacement: "$1"
- column: "DB"
pattern: "(h2|postgres(?:ql)?|pgsql|mysql|mariadb|mssql|derby|tidb|cockroach(?:db)?|oracle|db2|hsqldb|edb|sybase)(?:(.*)_ci|(.*))"
replacement: "$1$2$3"
pattern: "((?:h2|postgres(?:ql)?|pgsql|mysql|mariadb|mssql|derby|tidb|cockroach(?:db)?|oracle|db2|hsqldb|edb|sybase)(?:.*(?=_ci)|.*))(?:_ci)?"
replacement: "$1"
- pattern: "main|HEAD|\\d+.\\d+|PR-\\d+"
replacement: "" # Just remove these tags