mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-30 20:42:54 +09:00
Add golangci (#6418)
This commit is contained in:
@ -20,10 +20,8 @@ func GetPayloadCommitVerification(commit *git.Commit) *structs.PayloadCommitVeri
|
||||
}
|
||||
if verification.Reason != "" {
|
||||
verification.Reason = commitVerification.Reason
|
||||
} else {
|
||||
if verification.Verified {
|
||||
verification.Reason = "unsigned"
|
||||
}
|
||||
} else if verification.Verified {
|
||||
verification.Reason = "unsigned"
|
||||
}
|
||||
return verification
|
||||
}
|
||||
|
Reference in New Issue
Block a user