File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ module Action (Github_api : Api.Github) (Slack_api : Api.Slack) = struct
48
48
49
49
let partition_pr cfg (n : pr_notification ) =
50
50
match n.action with
51
- | (Opened | Closed | Reopened | Labeled ) when not n.pull_request.draft -> partition_label cfg n.pull_request.labels
51
+ | (Opened | Closed | Reopened | Labeled | Ready_for_review ) when not n.pull_request.draft ->
52
+ partition_label cfg n.pull_request.labels
52
53
| _ -> []
53
54
54
55
let partition_issue cfg (n : issue_notification ) =
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ let generate_pull_request_notification notification channel =
39
39
let ({ body; title; html_url; labels; merged; _ } : pull_request ) = pull_request in
40
40
let action, body =
41
41
match action with
42
- | Opened -> " opened" , Some body
42
+ | Opened | Ready_for_review -> " opened" , Some body
43
43
| Closed -> (if merged then " merged" else " closed" ), None
44
44
| Reopened -> " reopened" , None
45
45
| Labeled -> " labeled" , show_labels labels
You can’t perform that action at this time.
0 commit comments