diff --git a/services/github/webhook/webhook.go b/services/github/webhook/webhook.go index 3dfef7b..dd8ccea 100644 --- a/services/github/webhook/webhook.go +++ b/services/github/webhook/webhook.go @@ -156,7 +156,7 @@ func pullRequestHTMLMessage(p github.PullRequestEvent) string { actionTarget = fmt.Sprintf(" to %s", *p.PullRequest.Assignee.Login) } - var prAction = *p.Action + prAction := *p.Action if prAction == "closed" && *p.PullRequest.Merged { prAction = "merged" }