Skip to content

Commit 8853985

Browse files
committed
action: ignore only PR comment
1 parent 8837244 commit 8853985

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

lib/action.ml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,16 @@ module Action (Github_api : Api.Github) (Slack_api : Api.Slack) = struct
158158
let ignore_notifications_from_user cfg req =
159159
let sender_login =
160160
match req with
161-
| Github.Push n -> Some n.sender.login
162-
| Pull_request n -> Some n.sender.login
163-
| PR_review n -> Some n.sender.login
164-
| PR_review_comment n -> Some n.sender.login
165-
| Issue n -> Some n.sender.login
166-
| Issue_comment n -> Some n.sender.login
167-
| Commit_comment n -> Some n.sender.login
161+
| Github.Issue_comment n ->
162+
Some n.sender.login
163+
(*
164+
| Github.Push n -> Some n.sender.login
165+
| Pull_request n -> Some n.sender.login
166+
| PR_review n -> Some n.sender.login
167+
| PR_review_comment n -> Some n.sender.login
168+
| Issue n -> Some n.sender.login
169+
| Commit_comment n -> Some n.sender.login
170+
*)
168171
| _ -> None
169172
in
170173
match sender_login with

0 commit comments

Comments
 (0)