Skip to content

ci: fail PRs with the wrong commit authorship - #335

Open
zheli wants to merge 1 commit into
mainfrom
commit-guard
Open

ci: fail PRs with the wrong commit authorship#335
zheli wants to merge 1 commit into
mainfrom
commit-guard

Conversation

@zheli

@zheli zheli commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Improve commit message quality

Commits authored, committed, or co-authored by Claude or Cursor were
reaching the default branch unnoticed, so the history no longer showed
who is accountable for a change. Add a PR-gated check over the
base..head range that inspects author, committer, and every
Co-authored-by line, including ones outside the final trailer block.

The logic lives in scripts/ci/ so contributors can run the same check
locally before pushing. Identity matching uses non-alphanumeric
boundaries so human names such as Claudia do not trip the guard.
@zheli zheli changed the title ci: fail PRs that carry AI-tool commit authorship ci: fail PRs with the wrong commit authorship Aug 28, 2026
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