Skip to content
Snippets Groups Projects
Commit b0ec407d authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Add check for group wiki repository envvar pattern (group-##-wiki)

parent e6f02537
No related branches found
No related tags found
1 merge request!77Add check for group wiki repository envvar pattern (group-##-wiki)
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment