Skip to content

Commit a3d5ddd

Browse files
Merge pull request #290 from getporter/setupDcoTarget
Add SetupDCO mage target
2 parents 071155e + 9d207aa commit a3d5ddd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

magefile.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515

1616
"get.porter.sh/magefiles/ci"
1717
"get.porter.sh/magefiles/docker"
18+
"get.porter.sh/magefiles/git"
1819

1920
// mage:import
2021
_ "get.porter.sh/magefiles/docker"
@@ -491,3 +492,9 @@ func BuildLocalPorterAgent() {
491492
err := buildImage(localAgentImgName)
492493
mgx.Must(err)
493494
}
495+
496+
// SetupDCO configures your git repository to automatically sign your commits
497+
// to comply with our DCO
498+
func SetupDCO() error {
499+
return git.SetupDCO()
500+
}

0 commit comments

Comments
 (0)