Skip to content

ci(dco): add a reusable DCO sign-off workflow and have Renovate sign off - #405

Merged
BryanFRD merged 2 commits into
mainfrom
ci/reusable-dco
Oct 25, 2026
Merged

BryanFRD merged 2 commits into
mainfrom
ci/reusable-dco

Conversation

@BryanFRD

Copy link
Copy Markdown
Contributor

Adds reusable-dco.yml (same check Stashden runs today), a starter template, and a commitBody sign-off in the shared Renovate preset so Renovate PRs pass it without per-repo config.

Repos opt in by adding the caller from workflow-templates/dco.yml. Nothing is enforced org-wide by this PR.

Signed-off-by: BryanFRD <bryanferrando59@gmail.com>

@ferrfleet-interne ferrfleet-interne Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking, just two nits. The check works on fork PRs: the head SHA is reachable from the merge ref that a fetch-depth: 0 checkout pulls. Merge commits are skipped, and edited in the trigger correctly re-runs the check when the base branch changes. The runner selection matches reusable-pr-title.yml.


jobs:
sign-off:
uses: FerrLabs/.github/.github/workflows/reusable-dco.yml@main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: security-scan.yml pins its reusable workflow to a SHA with a # main comment; this one floats on @main. It can't be pinned until reusable-dco.yml is on main, so a follow-up that pins it to the merge commit would keep the templates consistent.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not changed here: the SHA only exists once this merges. I'll pin the template (and the callers rolled out to other repos) to the merge commit in a follow-up.

Comment thread .github/workflows/reusable-dco.yml
Signed-off-by: BryanFRD <bryanferrando59@gmail.com>

@ferrfleet-interne ferrfleet-interne Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The concurrency nit is fixed in 5cf3004. The @main pin is left for the agreed follow-up. Nothing blocking.

@BryanFRD
BryanFRD merged commit 7c84741 into main Oct 25, 2026
13 checks passed
@BryanFRD
BryanFRD deleted the ci/reusable-dco branch October 25, 2026 10:19
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