Understanding Your First Check
After runningmergeguide check, here’s how to interpret and act on the results.
Check Output Explained
Result Levels
| Level | Meaning | Action Required |
|---|---|---|
| PASS | Code meets policy requirements | None |
| WARN | Potential issue, not blocking | Review recommended |
| FAIL | Policy violation | Must fix before merge |
Detailed Violation Information
For more details on any violation:- Full file path and line numbers
- Code snippet with violation highlighted
- Policy documentation link
- Suggested fix
Common First-Check Results
Hardcoded Secrets
SQL Injection
Console Statements
Ignoring Specific Violations
For legitimate exceptions, use inline comments:.mergeguide.yaml:
Re-running Checks
After fixing violations:Viewing Policy Details
To understand why a policy exists:Next Steps
- CLI Commands Reference
- Policy Authoring Basics
- Configure Git Hooks for automatic checks