From 21cf68aa34b9b6515c4a2668f656fc5b767ec9c1 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 17 Jun 2026 15:47:38 +0100 Subject: Relax AI committer push check --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1da3e7f..d8e603b 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ Projects opt in by just dropping a file at `.githooks/` — no `core.hooks - `pre-commit` → repo's `.githooks/pre-commit` (if any). No global logic. In this repo: `just check`. - `commit-msg` → repo's `.githooks/commit-msg` (if any), then strips any `Co-authored-by:` whose identity matches an AI agent (Copilot/Claude/Codex/…) so they don't trip the push gate. -- `pre-push` → repo's `.githooks/pre-push` (if any), then rejects pushes that contain unsigned commits, commits with a foreign committer, or commits authored/co-authored by an AI agent. +- `pre-push` → repo's `.githooks/pre-push` (if any), then rejects pushes that contain unsigned commits or commits whose author/committer/coauthor looks like an AI agent. - `post-commit` → repo's `.githooks/post-commit` (if any). No global logic. In this repo: `chezmoi apply`. Bypass any of these with `--no-verify` on `commit`/`push`. -- cgit v1.3.1