Skip to content

Commit

Permalink
(fix) don't comment on same score
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Sep 5, 2024
1 parent 6f62099 commit 6d0bb82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/pkg/pr.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ func (p *PR) Get(req *PRRequest, types []models.Type) (string, error) {
if commitBranch == "" {
commitBranch = scoreBranch.Commit
}
if !isFirstPR && scoreBaseBranch.Score == scoreBranch.Score {
continue
}
if err != nil {
y[1] = 0
tableRow[2] = ""
Expand Down

0 comments on commit 6d0bb82

Please sign in to comment.