Skip to content

Refuse assistant attribution in every commit and pull request - #3

Merged
JBailes merged 1 commit into
mainfrom
ci/no-coauthor-trailers
Oct 30, 2026
Merged

JBailes merged 1 commit into
mainfrom
ci/no-coauthor-trailers

Conversation

@JBailes

@JBailes JBailes commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

No description provided.

This repository had no attribution gate, so a co-author trailer, a Generated
with footer or an assistant author could have merged unchecked. The
no-coauthor-trailers job runs aimee's attribution policy
(scripts/check-pr-attribution.go over server-go/modules/git/attribution) at a
pinned commit on every pull request, push, merge group and dispatch, with no
exemptions: every incoming commit's author, committer and message, the pull
request's title, body and edit history, and every PR associated with those
commits. It runs the policy's own tests first and fails closed on any
incomplete read.

Pushes are checked on main only. A new branch's first push carries an
all-zero "before", which the policy refuses as a range, and that recorded
refusal would then fail every later check of the same commit.
@JBailes
JBailes force-pushed the ci/no-coauthor-trailers branch from fc4baba to e142303 Compare October 30, 2026 13:08
@JBailes
JBailes merged commit e7a31c7 into main Oct 30, 2026
1 check passed
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