Repository navigation
feat(pr-checks): no-co-authors fails on Co-authored-by trailers in the description or commits - #23
Draft
PiquelChips wants to merge 1 commit into
Draft
PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
PiquelChips
force-pushed
the
feat/pr-check-co-authors
branch
from
November 22, 2026 20:25
d55c68a to
456981e
Compare
…e description or commits no-co-authors (G4) reads the description and every commit message through the API and names each trailer it finds with how to remove it.
PiquelChips
force-pushed
the
feat/pr-check-body
branch
from
November 22, 2026 22:13
a2b41d0 to
2ca3cd4
Compare
PiquelChips
force-pushed
the
feat/pr-check-co-authors
branch
from
November 22, 2026 22:13
456981e to
cc8bda1
Compare
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.
What and why
The standard forbids
Co-authored-bytrailers, but tools add them by default, and nothing catches one before it reachesmain. This addsno-co-authors(G4) to the pull request checks of #21.co-authored-by:, in any case, in the description or in any commit message. The commit messages come frompulls.listCommits, paginated.main.git rebase -iand push with--force-with-lease.Testing
just check-changed origin/feat/pr-check-bodypasses.PRrun checks its commit and this description.Checklist
just check-changedpasses.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)