Skip to content

ci: refuse pull requests that credit an AI agent - #14

Merged
ExtraToast merged 1 commit into
mainfrom
ci/refuse-agent-attribution
Nov 10, 2026
Merged

ExtraToast merged 1 commit into
mainfrom
ci/refuse-agent-attribution

Conversation

@ExtraToast

Copy link
Copy Markdown
Contributor

What changed

Pins the Repository Hygiene workflow to github-workflows v0.46.0 and adds edited to the pull_request types where it was missing. v0.46.0 adds the Agent Attribution Guard job: on every pull request it refuses a title, body, commit author, Co-Authored-By trailer or commit message line that credits an AI agent, model or provider. Human co-authors who are not tied to an AI stay allowed.
The Main ruleset file (.github/rulesets/main.json) now lists repository-hygiene / Agent Attribution Guard as a required status check beside Pipeline Complete. The file only takes effect once the ruleset is applied to the repository (scripts/apply-ruleset.sh in github-workflows); that needs admin rights and is not done by this change.

Why

Owner decision: no commit or pull request credits an AI agent, and the check blocks in every repository that consumes github-workflows. edited re-runs the guard when a title or body is changed, since it reads both.

Verification

The pull request's own Repository Hygiene run executes the new job against this branch; its result is the CI state of this pull request.

Pin the Repository Hygiene workflow to github-workflows v0.46.0, which adds the Agent Attribution Guard job, and re-run it when a pull request is edited.
@ExtraToast ExtraToast added the type: chore Maintenance work without intended behavior change. label Nov 10, 2026
@ExtraToast
ExtraToast merged commit 5e4829b into main Nov 10, 2026
3 of 5 checks passed
@ExtraToast
ExtraToast deleted the ci/refuse-agent-attribution branch November 10, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance work without intended behavior change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant