File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class RepoChecksResponder < Responder
6
6
7
7
def define_listening
8
8
@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
10
10
end
11
11
12
12
def process_message ( message )
Original file line number Diff line number Diff line change 20
20
expect ( @responder . event_regex ) . to match ( "@botsci check repository" )
21
21
expect ( @responder . event_regex ) . to match ( "@botsci check repository \r \n " )
22
22
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 " )
24
24
expect ( @responder . event_regex ) . to match ( "@botsci check repository from branch custom/branch" )
25
25
expect ( @responder . event_regex ) . to match ( "@botsci check repository from branch development \r \n " )
26
26
expect ( @responder . event_regex ) . to_not match ( "@botsci check repository from branch " )
You can’t perform that action at this time.
0 commit comments