8000 fix: exempt imported upstream history and merge commits from mirror DCO by vitormattos · Pull Request #20 · e-cidade/.github · GitHub
[go: up one dir, main page]

Skip to content

fix: exempt imported upstream history and merge commits from mirror DCO - #20

Merged
vitormattos merged 1 commit into
mainfrom
fix/mirror-dco
Dec 5, 2026
Merged

vitormattos merged 1 commit into
mainfrom
fix/mirror-dco

Conversation

@vitormattos
Copy link
Copy Markdown
Member

Validate DCO for new non-merge local commits by comparing the actual author email with the commit trailer, excluding ancestors of the exact configured upstream SHA. Do not change imported commit identities or hashes; do not disable the external DCO App globally. Regression tests cover unsigned upstream, merges, unsigned local commits on spoofed upstream refs, wrong author, and non-trailers. All 32 tests passed locally; current DBSeller PR #5 also passed verification of its two local commits.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit 4a52059 into main Dec 5, 2026
4 checks passed
@vitormattos
vitormattos deleted the fix/mirror-dco branch December 5, 2026 17:50
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

0