From 9e621509767611693382bb45251ce34ae4d34e1c Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Sat, 12 Apr 2025 23:15:07 +0900 Subject: [PATCH] dco: improve error message The former message was unclear to a new contributor who does not know DCO Signed-off-by: Akihiro Suda --- rules/dco/dco.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/dco/dco.go b/rules/dco/dco.go index a42ea06..8993a98 100644 --- a/rules/dco/dco.go +++ b/rules/dco/dco.go @@ -41,7 +41,7 @@ func ValidateDCO(r validate.Rule, c git.CommitEntry) (vr validate.Result) { } if !hasValid { vr.Pass = false - vr.Msg = "does not have a valid DCO" + vr.Msg = "does not have a valid Developer Certificate of Origin (DCO, https://developercertificate.org); run `git commit --amend --signoff` to sign DCO" } else { vr.Pass = true vr.Msg = "has a valid DCO"