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 dd8326a commit 9d7c7b0Copy full SHA for 9d7c7b0
internal/github/gh.go
@@ -161,7 +161,7 @@ func (gh *GHClient) approvals() []*github.PullRequestReview {
161
if _, ok := seen[userName]; ok {
162
// we only care about the most recent reviews for each user
163
return false
164
- } else {
+ } else if approval.GetState() == "APPROVED" {
165
seen[userName] = true
166
}
167
return approval.GetState() == "APPROVED"
0 commit comments