Skip to content

ci: accept any human sign-off on bot-authored commits in DCO check - #222

Merged
ovaistariq merged 1 commit into
mainfrom
ci/dco-exempt-bots
Aug 18, 2026
Merged

ovaistariq merged 1 commit into
mainfrom
ci/dco-exempt-bots

Conversation

@ovaistariq

@ovaistariq ovaistariq commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Squash-merging a bot-opened PR (perfloop) creates a squash commit authored by the bot, which can never satisfy an author-matching DCO check — the bot cannot sign, and the human sign-offs inside don't match the author. This currently fails the dco check on release PR #221 for 587d865 (#219) and 3f0817a (#217), and will recur on every future release PR containing bot squashes.

Fix: bot-authored commits (*[bot]*) pass if any Signed-off-by trailer is present (the reviewing human's merge is the attestation). Human-authored commits still require an exact author match.

Verified by simulating the check against the current release..main range: all three commits pass (two bot commits with human sign-offs, one human commit with matching sign-off).

🤖 Generated with Claude Code

https://claude.ai/code/session_01L5DLvDTo9dhD38YQXhHpU9


Note

Cursor Bugbot is generating a summary for commit e347034. Configure here.

Squash-merging a bot-opened PR creates a commit authored by the bot,
which can never carry a matching Signed-off-by. Require only that some
sign-off trailer is present on bot commits (the reviewing human's merge
is the attestation); human-authored commits still need an exact match.
Unblocks release PRs containing perfloop squash merges.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01L5DLvDTo9dhD38YQXhHpU9
Signed-off-by: Ovais Tariq <[email protected]>
@greptile-apps

greptile-apps Bot commented Aug 18, 2026

Copy link
Copy Markdown

Greptile Summary

The PR updates the DCO workflow so commits authored by accounts whose author identity contains [bot] pass when they contain any Signed-off-by trailer, while preserving exact author matching for human-authored commits.

  • Adds a dedicated bot-author branch to the commit-validation loop.
  • Reports missing sign-offs on bot commits and retains the existing failure behavior.
  • Leaves human commit validation unchanged.

Confidence Score: 5/5

The PR appears safe to merge with no actionable issues identified.

The quoted Bash case pattern correctly recognizes the literal [bot] marker, and the new branch implements the documented exception without changing validation for human-authored commits.

Important Files Changed

Filename Overview
.github/workflows/dco.yml Adds the intended bot-specific sign-off exception while retaining exact sign-off matching for other authors; no actionable defect was identified.

Reviews (1): Last reviewed commit: "ci: accept any human sign-off on bot-aut..." | Re-trigger Greptile

@ovaistariq
ovaistariq merged commit d4155af into main Aug 18, 2026
11 of 12 checks passed
@ovaistariq
ovaistariq deleted the ci/dco-exempt-bots branch August 18, 2026 05:25
@tigrisdata-argocd-bot

Copy link
Copy Markdown

🎉 This PR is included in version 1.10.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants