Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ValidDCO is the regexp for signed off DCO ValidDCO = regexp.MustCompile(`^Signed-off-by: ([^<]+) <([^<>@]+@[^<>]+)>$`) // DcoRule is the rule being registered DcoRule = validate.Rule{ Name: "DCO", Description: "makes sure the commits are signed", Run: ValidateDCO, Default: true, } )
Functions ¶
func ValidateDCO ¶
ValidateDCO checks that the commit has been signed off, per the DCO process
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.