From 45dd78c812245352b23d6beb8d0aab0f39542eb8 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 25 Nov 2023 11:58:53 +0900 Subject: [PATCH] Fix zuul config warning This change resolves the following warning detected by zuul. All regular expressions must conform to RE2 syntax, but an expression using the deprecated Perl-style syntax has been detected. Adjust the configuration to conform to RE2 syntax. The RE2 syntax error is: invalid perl operator: (?! Change-Id: Iddb5224b6e2f32a0c26f348ae3acc884b8d9b53b --- .zuul.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index d628f030..e4f153cf 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -5,7 +5,9 @@ Run unit tests for oslo.db with main branch of important libs. Takes advantage of the base tox job's install-siblings feature. # The job only tests the latest and shouldn't be run on the stable branches - branches: ^(?!stable) + branches: + regex: ^stable + negate: true required-projects: - name: github.com/sqlalchemy/sqlalchemy override-checkout: main @@ -23,7 +25,9 @@ Run unit tests for oslo.db with main branch of important libs. Takes advantage of the base tox job's install-siblings feature. # The job only tests the latest and shouldn't be run on the stable branches - branches: ^(?!stable) + branches: + regex: ^stable + negate: true required-projects: - name: github.com/sqlalchemy/sqlalchemy override-checkout: main