diff options
| author | 2026-06-17 15:47:38 +0100 | |
|---|---|---|
| committer | 2026-06-17 15:47:38 +0100 | |
| commit | 21cf68aa34b9b6515c4a2668f656fc5b767ec9c1 (patch) | |
| tree | f4f2f197bc615dd49803c24748c95a646860e795 /README.md | |
| parent | e86e1a2e2471613169d0f016abf87f264de69003 (diff) | |
| download | dotfiles-21cf68aa34b9b6515c4a2668f656fc5b767ec9c1.tar.gz dotfiles-21cf68aa34b9b6515c4a2668f656fc5b767ec9c1.tar.bz2 dotfiles-21cf68aa34b9b6515c4a2668f656fc5b767ec9c1.zip | |
Relax AI committer push check
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -143,7 +143,7 @@ Projects opt in by just dropping a file at `.githooks/<name>` — 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`. |
