Skip to content

feat: add config option to enable Signed-off-by in commit messages#7766

Open
emersion wants to merge 2 commits intodecaporg:mainfrom
emersion:signed-off-by
Open

feat: add config option to enable Signed-off-by in commit messages#7766
emersion wants to merge 2 commits intodecaporg:mainfrom
emersion:signed-off-by

Conversation

@emersion
Copy link
Copy Markdown

@emersion emersion commented Mar 27, 2026

Summary

Some organizations require Signed-off-by trailers in commit
messages (e.g. for Developer Certificate of Origin). GitHub has a
setting to enable this when authoring changes from the Web UI.
This patch adds a similar setting for DecapCMS.

Note, most backends don't need any change for the new email field because they already populate it.

Closes: #7730

Test plan

  1. Add signoff_commits: true to the backend config.
  2. Author a change in DecapCMS.
  3. Commit message should have a Signed-off-by trailer.

Note, a logout + login might be required with GitHub to refresh cached auth data. The backend needs to populate the email field (GitHub, GitLab, Gitea, etc should work fine).

Checklist

A picture of a cute animal (not mandatory but encouraged)
image

Most backends don't need any change because they already populate
this field.
Some organizations require Signed-off-by trailers in commit
messages (e.g. for Developer Certificate of Origin). GitHub has a
setting to enable this when authoring changes from the Web UI.
This patch adds a similar setting for DecapCMS.

Closes: decaporg#7730
@emersion emersion requested a review from a team as a code owner March 27, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Signed-off-by trailers to commit messages

1 participant