diff --git a/server/handler/pull_request_review.go b/server/handler/pull_request_review.go index 25a96259..1f82ae71 100644 --- a/server/handler/pull_request_review.go +++ b/server/handler/pull_request_review.go @@ -88,7 +88,8 @@ func (h *PullRequestReview) Handle(ctx context.Context, eventType, deliveryID st func (h *PullRequestReview) affectsApproval(reviewState pull.ReviewState, config *policy.Config) bool { states := make(map[pull.ReviewState]struct{}) - // Include dismissed state + + // Always process events for dismissed reviews because they can revert the overall approval or disapproval to a previous state states[pull.ReviewDismissed] = struct{}{} for _, rule := range config.ApprovalRules {