Skip to content

Commit

Permalink
[GH-686]:Fixed issue #686 'Pull Request Reviews are not posted' (#689)
Browse files Browse the repository at this point in the history
* [MI-3380]:Fixed issue #686 'Pull Request Reviews are not posted' (#34)

* [MM-686]:fixed review comments
  • Loading branch information
Kshitij-Katiyar committed Aug 16, 2023
1 parent f8cb86e commit c31d053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/plugin/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ func (p *Plugin) postPullRequestReviewEvent(event *github.PullRequestReviewEvent
return
}

switch event.GetReview().GetState() {
switch strings.ToUpper(event.GetReview().GetState()) {
case "APPROVED":
case "COMMENTED":
case "CHANGES_REQUESTED":
Expand Down

0 comments on commit c31d053

Please sign in to comment.