From b0ec407d1870b1d5825b07c2466e4fb8077705c5 Mon Sep 17 00:00:00 2001
From: Martin Lowe <martin.lowe@eclipse-foundation.org>
Date: Thu, 21 Apr 2022 13:27:55 -0400
Subject: [PATCH] Add check for group wiki repository envvar pattern
 (group-##-wiki)

---
 src/main/rb/eca.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/rb/eca.rb b/src/main/rb/eca.rb
index eecd2b5e..fb67dff8 100644
--- a/src/main/rb/eca.rb
+++ b/src/main/rb/eca.rb
@@ -55,7 +55,7 @@ gl_repo = ENV['GL_REPOSITORY']
 if (nil_or_empty(gl_repo)) then 
   puts "No Gitlab repository set, likely dealing with non-repo commit, skipping"
   exit 0
-elsif (gl_repo =~ /^wiki-/) then
+elsif (gl_repo =~ /^wiki-/ || gl_repo =~ /^group-\d+-wiki$/) then
   puts "Commit is associated with a wiki, and does not need to be validated. Skipping."
   exit 0
 elsif (gl_repo !~ /^project-/) then
-- 
GitLab