From 4e8aa562a35d6024e105be02c2ca66f54c0f477b Mon Sep 17 00:00:00 2001 From: William Martin Date: Thu, 26 Mar 2026 16:55:09 +0100 Subject: [PATCH] docs: require tests and linter pass before committing Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 98024f533..b04e6b775 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -13,6 +13,12 @@ go test -tags acceptance ./acceptance # Acceptance tests make lint # golangci-lint (same as CI) ``` +**Before committing, ensure both tests and linter pass:** +```bash +go test ./... +make lint +``` + ## Architecture Entry point: `cmd/gh/main.go` → `internal/ghcmd.Main()` → `pkg/cmd/root.NewCmdRoot()`.