File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class RepoChecksResponder < Responder
66
77 def define_listening
88 @event_action = "issue_comment.created"
9- @event_regex = /\A @#{ bot_name } check repository(?: from branch ([\/ \w -]+))?\. ?\s *$/i
9+ @event_regex = /\A @#{ bot_name } check repository(?: from branch ([\/ \. \ w -]+))?\. ?\s *$/i
1010 end
1111
1212 def process_message ( message )
Original file line number Diff line number Diff line change 2020 expect ( @responder . event_regex ) . to match ( "@botsci check repository" )
2121 expect ( @responder . event_regex ) . to match ( "@botsci check repository \r \n " )
2222 expect ( @responder . event_regex ) . to match ( "@botsci check repository\r \n more" )
23- expect ( @responder . event_regex ) . to match ( "@botsci check repository from branch custom-branch " )
23+ expect ( @responder . event_regex ) . to match ( "@botsci check repository from branch custom-branch_6.0 " )
2424 expect ( @responder . event_regex ) . to match ( "@botsci check repository from branch custom/branch" )
2525 expect ( @responder . event_regex ) . to match ( "@botsci check repository from branch development \r \n " )
2626 expect ( @responder . event_regex ) . to_not match ( "@botsci check repository from branch " )
You can’t perform that action at this time.
0 commit comments