Skip to content

ci(dco): allow signed remediation without rewriting contributor commits - #173

Merged
vitormattos merged 1 commit into
mainfrom
ci/dco-remediation-for-historical-commits
Nov 21, 2026
Merged

vitormattos merged 1 commit into
mainfrom
ci/dco-remediation-for-historical-commits

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Why this PR exists

LibreCodeCoop/extract#172 preserves the full commit history of external contribution #168. Technical CI is green, but the DCO GitHub App reports 58 historic commits without sign-offs (50 authored by openhands, 6 by Dony Wibowo, 2 by Cline).

DCO App normally requires rebasing these commits to add trailers, which would rewrite all downstream commit SHAs and undermine the goal of preserving contributors' original commits.

Change

Enable the DCO App's documented remediation mechanism in .github/dco.yml, on the default branch:

  • individual: true allows the original author to add a later explicit declaration for their historic SHA.
  • thirdParty: true permits a different person who has the legal right to certify the contribution to provide a specific on-behalf-of declaration. This must not be used to assert someone else's rights without authorization.

The DCO requirement itself remains enforced. This change does not greenlight #172 automatically: it enables genuine, traceable author/authorized-representative attestations without rewriting the underlying commits. Existing unsigned commits remain failures until they have valid remediation messages.

Validation

  • Reviewed the official DCO App's current README and lib/dco.js: both settings and SHA-specific remediation clauses are supported.
  • This signed commit uses the repository's Git Signing mechanism and DCO.
  • CI on this PR is to validate the new config; the DCO App reads the config from the default branch, so merging only after a maintainer reviews the policy is required.

Governance

This is a repository-wide DCO policy expansion, not a CI bypass. Draft for explicit maintainer approval; do not merge automatically. Associated PR: #172.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos marked this pull request as ready for review November 21, 2026 14:27
@vitormattos
vitormattos merged commit 3cfceb1 into main Nov 21, 2026
20 checks passed
@vitormattos
vitormattos deleted the ci/dco-remediation-for-historical-commits branch November 21, 2026 14:27
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.

1 participant