File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -204,10 +204,6 @@ def user_noping(user: str) -> str:
204
204
commit_short_id = request .json ["comment" ]["commit_id" ][:7 ]
205
205
comment = request .json ["comment" ]["body" ].replace ("\r \n " , " " )
206
206
207
- # Don't notify the !testme comments
208
- if comment .strip ().startswith ("!testme" ):
209
- return
210
-
211
207
url = request .json ["comment" ]["html_url" ]
212
208
213
209
await notify (
@@ -284,6 +280,10 @@ def user_noping(user: str) -> str:
284
280
issue_title = request .json ["issue" ]["title" ]
285
281
comment = request .json ["comment" ]["body" ].replace ("\r \n " , " " )
286
282
283
+ # Don't notify the !testme comments
284
+ if comment .strip ().startswith ("!testme" ):
285
+ return
286
+
287
287
if len (comment ) > 120 :
288
288
comment = comment [:120 ] + "..."
289
289
You can’t perform that action at this time.
0 commit comments