Skip to content

ci: call the shared DCO workflow instead of a local copy - #105

Merged
florianamette merged 1 commit into
mainfrom
refactor/GH-002-reusable-dco
Nov 9, 2026
Merged

florianamette merged 1 commit into
mainfrom
refactor/GH-002-reusable-dco

Conversation

@florianamette

Copy link
Copy Markdown
Contributor

What

Replaces this repository's copy of the DCO sign-off workflow with a short caller of the shared reusable workflow, synthaea-lab/.github/.github/workflows/dco.yml@main (added in synthaea-lab/.github#5). The trigger (pull_request) and the permissions (contents: read) stay the same.

Why

Clean-code charter, "DRY CI": when CI duplication is large, use reusable workflows. The same 43-line workflow was copy-pasted into every public repository, so a fix or an actions/checkout pin bump had to land in each one.

Safety net

The check script moved unchanged into the reusable workflow. Inside a reusable workflow, github.event is this repository's pull_request event and checkout fetches this repository, so the check runs exactly as before. The check now reports as dco / dco instead of dco. No branch protection requires the old name.

Verification

Merge order: merge synthaea-lab/.github#5 first. Until it lands, @main has no dco.yml and this check stays red.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AuFi2XQ6ctHQ1eNQ4Fz8ud

The DCO sign-off check was duplicated in every public synthaea-lab
repository. It now lives once, as a reusable workflow in
synthaea-lab/.github; this file only wires it to pull_request with
contents: read. The check itself is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AuFi2XQ6ctHQ1eNQ4Fz8ud
Signed-off-by: Florian Amette (F4K) <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T22:57:56.775334Z 6351f33 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.

@florianamette
florianamette merged commit 0e91791 into main Nov 9, 2026
7 checks passed
@florianamette
florianamette deleted the refactor/GH-002-reusable-dco branch November 9, 2026 00:00
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