We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c8411 commit ef5e936Copy full SHA for ef5e936
lib/action.ml
@@ -273,7 +273,8 @@ module Action (Github_api : Api.Github) (Slack_api : Api.Slack) = struct
273
274
let cleanup_state (ctx : Context.t) (payload : Github.t) =
275
match payload with
276
- | Github.Pull_request { action = Closed; pull_request = { number; _ }; repository = { url; _ }; _ } ->
+ | Github.Pull_request { action = Closed; pull_request = { number; _ }; repository = { url; _ }; _ }
277
+ | Issue { action = Closed; issue = { number; _ }; repository = { url; _ }; _ } ->
278
State.close_issue ctx.state url number
279
| _ -> Lwt.return_unit
280
0 commit comments