From 4a449a7edc381a3c5d3df13a45c3e1783c12293f Mon Sep 17 00:00:00 2001 From: Kim Christensen Date: Fri, 30 Aug 2024 22:44:17 +0200 Subject: [PATCH] chore: Add SetupDCO target Signed-off-by: Kim Christensen --- magefile.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/magefile.go b/magefile.go index 14e93ea..789d70f 100644 --- a/magefile.go +++ b/magefile.go @@ -5,6 +5,7 @@ package main import ( "get.porter.sh/magefiles/ci" + "get.porter.sh/magefiles/git" "get.porter.sh/magefiles/porter" "get.porter.sh/magefiles/tools" "github.com/carolynvs/magex/mgx" @@ -38,3 +39,9 @@ func Test() { must.RunV("go", "test", "./...") } + +// SetupDCO configures your git repository to automatically sign your commits +// to comply with our DCO +func SetupDCO() error { + return git.SetupDCO() +}