mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 17:20:53 +02:00
Add golangci (#6418)
This commit is contained in:
1 parent
5832f8d90d
commit
f9ec2f89f2
147 files changed
+1046
-774
No files matched your search
@@ -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