diff --git a/pr-review/main.go b/pr-review/main.go index a1b338e..d3d1648 100644 --- a/pr-review/main.go +++ b/pr-review/main.go @@ -57,7 +57,7 @@ PullRequest: %s#%d`, req.Repository.Name, GitAuthor, req.Repository.Name, req.Pu } func processPullRequest(h *common.RequestHandler) error { - req := h.Data.(common.PullRequestAction) + req := h.Data.(*common.PullRequestAction) switch req.Action { case "created":