Skip to content

Commit 598be86

Browse files
authored
🤖 docs: require static-check before pushing to PRs (#769)
Add explicit instruction in Mode: Exec to run `make static-check` locally before pushing changes. This makes the requirement proactive rather than only reactive to CI failures. _Generated with `mux`_
1 parent 5fa9658 commit 598be86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ Avoid mock-heavy tests that verify implementation details rather than behavior.
156156
## Mode: Exec
157157

158158
- Treat as a standing order: keep running checks and addressing failures until they pass or a blocker outside your control arises.
159+
- **Before pushing to a PR**, run `make static-check` locally and ensure all checks pass. Fix issues with `make fmt` or manual edits. Never push until local checks are green.
159160
- Reproduce remote static-check failures locally with `make static-check`; fix formatting with `make fmt` before rerunning CI.
160161
- When CI fails, reproduce locally with the smallest relevant command; log approximate runtimes to optimize future loops.
161162

0 commit comments

Comments
 (0)