Skip to content

chore(ci): accept DCO remediation commits - #1993

Merged
groksrc merged 1 commit into
mainfrom
chore/dco-allow-remediation
Oct 30, 2026
Merged

groksrc merged 1 commit into
mainfrom
chore/dco-allow-remediation

Conversation

@groksrc

@groksrc groksrc commented Oct 30, 2026

Copy link
Copy Markdown
Member

Accept DCO remediation commits, so a contributor can fix a missing Signed-off-by line without rewriting and force-pushing their branch.

Why

The DCO check fails a PR when any commit lacks a Signed-off-by line. The DCO app has a fix that needs no history rewrite: a follow-up commit whose body reads

I, Name <email>, hereby add my Signed-off-by to this commit: <sha>

This repo has no .github/dco.yml, so the app uses its defaults, which ignore remediation commits. Today the only way to turn the check green is to rewrite the unsigned commits and force-push. A recent PR hit exactly this: it carried a correctly formatted remediation commit, and DCO still failed.

What

Adds .github/dco.yml:

allowRemediationCommits:
  individual: true

This allows remediation only for a contributor's own commits. Third-party remediation (signing off someone else's commit) stays off. git commit -s remains the normal path, as AGENTS.md says.

Verification

  • This PR's single commit is signed off, so its own DCO check should pass.
  • The setting takes effect for PRs once this file is on the default branch. To confirm after merge: push a commit without a sign-off to a PR, then push a remediation commit for it; DCO should turn green.

🤖 Generated with Claude Code

When a pushed commit is missing its Signed-off-by line, the only way to
satisfy the DCO check today is to rewrite and force-push the branch. The
DCO app supports remediation commits instead, but only when the repo
enables them in .github/dco.yml. Enable them for individual contributors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Drew Cain <groksrc@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T04:27:20.298151Z 74f2e83 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@groksrc
groksrc merged commit c69b4e8 into main Oct 30, 2026
17 checks passed
@groksrc
groksrc deleted the chore/dco-allow-remediation branch October 30, 2026 04:29
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