From f59e4318c15b7ee0f830fb373c03b8fd1435ac53 Mon Sep 17 00:00:00 2001
From: Takashi Kajinami <kajinamit@oss.nttdata.com>
Date: Mon, 22 Jan 2024 14:48:31 +0900
Subject: [PATCH] Replace deprecated perl-style regex

Zuul deprecated usage of perl-style regex.

```
  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.
```

Change-Id: Id9ef016f799ae2bdf27b6c5022b6bec662bec74e
---
 .zuul.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.zuul.yaml b/.zuul.yaml
index ecd32ab..f0a47e9 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -2,7 +2,9 @@
     name: glance-secure-rbac-protection-functional
     parent: devstack-tempest
     timeout: 4200
-    branches: ^(?!stable/wallaby).*$
+    branches:
+      regex: ^stable/wallaby$
+      negate: true
     required-projects:
       - openstack/devstack-gate
       - openstack/glance