Repository navigation
ci: accept any human sign-off on bot-authored commits in DCO check - #222
Merged
Merged
Conversation
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]>
garrensmith
approved these changes
Aug 18, 2026
Greptile SummaryThe PR updates the DCO workflow so commits authored by accounts whose author identity contains
Confidence Score: 5/5The PR appears safe to merge with no actionable issues identified. The quoted Bash case pattern correctly recognizes the literal Important Files Changed
Reviews (1): Last reviewed commit: "ci: accept any human sign-off on bot-aut..." | Re-trigger Greptile |
|
🎉 This PR is included in version 1.10.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This was referenced Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
dcocheck on release PR #221 for587d865(#219) and3f0817a(#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..mainrange: 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.