Skip to content

Optional Developer Certificate of Origin (DCO) commit question #410

Open
@lobotmcj

Description

@lobotmcj

Description

A config option to include an additional question at the end of cz commit that displays the DCO and asks if the committer agrees to the DCO and, if yes, appends the line Signed-off-by: [NAME] <[EMAIL]> at the end of the commit message. [NAME] and [EMAIL] would be pulled from git config.

Possible Solutions

  1. See description.
  2. I suppose this could also be done instead as a third-party extension, but then what if you want a DCO question and also to use cz_legacy or conventional_jira?
  3. Is it possible to append a question to the cz_conventional_commits list via the json/toml file customization, or only to completely replace the list?
    If so, a partial solution to this feature request could just be a documentation edit to say how to do that.

Additional context

The Developer Certificate of Origin (DCO) is a lightweight alternative to a Contributor License Agreement (CLA). It's used by many prominent communities, such as:

There is also a GitHub App to support DCO's use

Some further reading
Yet more info

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions