> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/more-in-this-section-6/judge-ci-no-merge.md).

# Recipe: Run a judge in CI without auto-merging on pass

Recipe — gate CI on a judge verdict without auto-merging on pass.

**When to use:** judge is reliable enough to fail on, but you want human review on pass too.

## Steps

1. CI runs the judge as a required check.
2. **Failure** blocks merge (hard gate).
3. **Success** is signal but doesn't auto-merge — keep human reviewer required.

## Code

`.github/workflows/eval.yml`:

```yaml
- run: python scripts/ci-eval.py
 # Exits 1 on regression; otherwise 0. PR rules require this check + a reviewer.
```

## See also

* [Tutorial 3: CI/CD gates](/6.-build-wire-your-code/03-cicd-gates.md)
* [Workflow: Govern](/8.-evaluate-score-the-outputs/workflow.md)
