Skip to content

feat: DCO - enable remediation commits - #413

Merged
lornakelly merged 1 commit into
open-workflow-specification:mainfrom
lornakelly:412/github-dco
Sep 11, 2026
Merged

feat: DCO - enable remediation commits#413
lornakelly merged 1 commit into
open-workflow-specification:mainfrom
lornakelly:412/github-dco

Conversation

@lornakelly

Copy link
Copy Markdown
Collaborator

Summary

Closes #412

Add a .github/dco.yml configuration file for the DCO GitHub App that enables individual remediation commits (see docs https://github.com/cncf/dco2#remediation-commits)

This lets a contributor retroactively add a Signed-off-by for one of their own commits via a follow-up commit that names the target commit by full SHA, instead of rewriting history.

"Squash and merge" writes a brand-new commit and stamps its author from the contributor's GitHub account - their display name, and their account email- while copying the Signed-off-by trailer verbatim from the original local commit. Where those identities differ in either the name or the email, the resulting commit's sign-off no longer matches its own author, and it fails the DCO check the next time that commit turns up inside a pull request's commit range.

Enabling individual remediation gives a contributor a way to repair their own sign-off in place.

Signed-off-by: lornakelly <lornakelly88@gmail.com>
Copilot AI lite review requested due to automatic review settings September 10, 2026 15:36
@netlify

netlify Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploy Preview for openworkflow-editor canceled.

Name Link
🔨 Latest commit 2874476
🔍 Latest deploy log https://app.netlify.com/projects/openworkflow-editor/deploys/6aa2ce64f5696b00084d9f07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is a small, well-scoped configuration addition that matches the linked issue requirements and introduces no code-path risk.

Pull request overview

Adds configuration for the CNCF DCO GitHub App to allow individual remediation commits, enabling contributors to retroactively add a valid Signed-off-by for a specific prior commit (by full SHA) without rewriting history—addressing DCO failures caused by GitHub “Squash and merge” re-authoring.

Changes:

  • Introduces .github/dco.yml enabling allowRemediationCommits.individual: true.
  • Documents (in-file comments) the rationale tied to squash-merge author/sign-off mismatches.
File summaries
File Description
.github/dco.yml Adds DCO App configuration to enable individual remediation commits.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@lornakelly
lornakelly merged commit aa3b80d into open-workflow-specification:main Sep 11, 2026
12 checks passed
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.

feat: add .github/dco.yml to enable individual DCO remediation commits

4 participants