Error
Blocks the build. Critical bugs or security vulnerabilities that must be addressed before merging.
Ship faster. Break nothing.
Before running your first review, ensure you have the following ready:
The easiest way to interact with Zento is via our command-line interface. Open your terminal and run the following command to install the global package:
After installation, verify it worked by typing:
To read your repository data, Zento needs authorization. Run the login command:
This will open your default browser and prompt you to log in to your Zento account and authorize the GitHub integration. Once complete, you should see a success message in your terminal.
zento review on an open PRNavigate to the directory of your repository and select an open Pull Request. Run the review command followed by the PR number:
Zento will analyze the changed files, run a set of heuristic tests, and generate a comprehensive report of potential bugs, security vulnerabilities, and style issues.
Zento categorizes issues into three severity levels to help you prioritize fixes:
Blocks the build. Critical bugs or security vulnerabilities that must be addressed before merging.
Non-blocking issues like deprecated functions or minor performance bottlenecks. Review recommended but not required.
Refactoring tips, style improvements, and minor optimizations. Great for improving code quality over time.
Once you've reviewed the flagged lines, you have two options:
Iterate: Fix the issues in your editor, commit the changes, and run zento review again until the report is clean.
Merge: If an issue is a false positive or intentional, you can dismiss it directly from the CLI output. Zento learns from your decisions to improve future reviews.
If you see "zento: command not found," ensure you ran the npm install with sudo on Linux/macOS or as Administrator on Windows.
Ensure your browser is not in "incognito" mode. If the popup doesn't appear, try clearing your cookies for zento.dev and running the login command again.
Check that you are running the command inside the repository folder and that the PR number exists in the current branch context.
Don't run the CLI manually every time. Connect Zento to your CI/CD pipeline to trigger reviews automatically on every push.
Add this step to your GitHub Actions workflow file:
Sarah is a Developer Advocate at Zento. She loves open source, debugging legacy monoliths, and teaching engineers how to ship safer code.
Read more articles →