code-review-bot icon indicating copy to clipboard operation
code-review-bot copied to clipboard

Verify Developer Certificate of Origin (DCO) on each commit

Open mbrukman opened this issue 7 years ago • 2 comments

When committing code, users need to run:

git commit -s

which will add a line similar to the following at the end of the commit message:

Signed-off-by: Jane Doe <[email protected]>

Developers who don't want to remember to add -s every time they commit code can simplify it for themselves via an alias for git commit.

This check should ensure that:

  • this line exists in each commit
  • the name and email on this line matches the name + email of the commit itself

mbrukman avatar Jan 24 '19 18:01 mbrukman

Hey @mbrukman!

Are you already working on this? If you need help with it, I would like to take it.

d6o avatar Feb 15 '19 12:02 d6o

@DiSiqueira — no, I'm not working on it, so please feel free to take it!

mbrukman avatar Feb 15 '19 14:02 mbrukman