How to add a commit message template for DCO? #955
-
Hi, I have a bit of a corner case and didn't really wanted to open an issue for that. Specifically, my project has been accepted into the linux foundation and part of their project requirements is that every contributor must sign the Developer Certificate of Origin (DCO) which in practice is relatively easy by just adding the following to a commit message: Signed-off-by: Your Name your.name@email.com Git can sign automatically using the -s argument git commit -s -m 'My commit message' DCO was conceived back in 2004 almost certainly before the advent of build bots and GitHub actions... Because DCO is required on my repo, release-plz PR's consistently "fail" the checks until I've manually set the DCO to pass. This is particularly inconvenient because the manual overwrite can only be done on the desktop website meaning out-of-schedule releases when on the go isn't feasible since the DCO overwrite is not supported in the GH mobile app. Don't ask me why. And here is my question: How to add a commit message template for DCO? I can think of this in two ways:
Any help would be appreciated. That said, release-plz is an amazing project and works so reliable behind the scenes that I cannot imagine anymore running a project without it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Signing commits sounds like a good default. dependabot does the same. |
Beta Was this translation helpful? Give feedback.
Signing commits sounds like a good default. dependabot does the same.
Implemented in #956 👍
Also thank you for you kind words :) In which project are you using release-plz?