Skip to content

fix(ci): run the DCO checker from the base branch - #8

Merged
giovanny07 merged 1 commit into
mainfrom
fix/dco-workflow
Oct 13, 2026
Merged

giovanny07 merged 1 commit into
mainfrom
fix/dco-workflow

Conversation

@giovanny07

Copy link
Copy Markdown
Owner

The DCO job checked out the PR head and ran check_dco.py from it. That has two problems:

The job now checks out the base commit and fetches the PR commits via refs/pull/N/head.

🤖 Generated with Claude Code

The DCO job checked out the PR head and ran check_dco.py from it, which
failed for branches created before the script existed (PR #7) and let a
PR edit the checker to pass. Check out the base commit instead and fetch
the PR commits by ref.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Giovanny Rodriguez <giovanny.rodriguez@imagunet.com>
@giovanny07
giovanny07 merged commit 592e2f2 into main Oct 13, 2026
9 checks passed
@giovanny07
giovanny07 deleted the fix/dco-workflow branch October 13, 2026 17:31
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