Skip to content
Snippets Groups Projects
Commit 588002d8 authored by Jason Roehm's avatar Jason Roehm
Browse files

fixed missing argument in list

parent c57c9c41
No related branches found
No related tags found
1 merge request!3230CI: Add 'triggers' keyword to 'only' and 'except' lists to allow control over when triggers cause builds to run
Loading
@@ -284,7 +284,7 @@ module Ci
Loading
@@ -284,7 +284,7 @@ module Ci
end end
end end
   
def match_ref?(pattern, ref, tag) def match_ref?(pattern, ref, tag, trigger_request)
pattern, path = pattern.split('@', 2) pattern, path = pattern.split('@', 2)
return false if path && path != self.path return false if path && path != self.path
return true if tag && pattern == 'tags' return true if tag && pattern == 'tags'
Loading
Loading
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