File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/handlers/check_commits Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pub(super) fn mentions_in_commits(
8
8
conf : & NoMentionsConfig ,
9
9
commits : & [ GithubCommit ] ,
10
10
) -> Option < String > {
11
- if conf. exclude_titles . iter ( ) . any ( |s| pr_title. contains ( s) ) {
11
+ if conf. exclude_titles . iter ( ) . any ( |s| pr_title. to_lowercase ( ) . contains ( s) ) {
12
12
return None ;
13
13
}
14
14
73
73
) ;
74
74
75
75
commits. push ( dummy_commit_from_body (
76
- "6565ffdd8af4ca0ec7c8faceee59c582edcd83b2 " ,
76
+ "4894129179b361200c9cd733ba0e906bf98747a2 " ,
77
77
"This is a body that mentions @rustbot for a command! And then a user @mention" ,
78
78
) ) ;
79
79
82
82
Some (
83
83
r"There are username mentions (such as `@user`) in the commit messages of the following commits.
84
84
*Please remove the mentions to avoid spamming these users.*
85
- - 6565ffdd8af4ca0ec7c8faceee59c582edcd83b2
85
+ - 4894129179b361200c9cd733ba0e906bf98747a2
86
86
" . to_string( )
87
87
)
88
88
) ;
You can’t perform that action at this time.
0 commit comments