Configure CodeAnt AI pull request Status checks
CodeAnt provides powerful Status Checks to help you ensure that secrets and high-severity security issues never make it into your production code. With these checks in place, any pull request (PR) containing sensitive data or serious vulnerabilities will fail automatically, preventing a merge until the issues are resolved.
A Status Check is a mechanism that runs automatically on your pull requests. It scans your code for:
If CodeAnt detects any of these issues, it fails the check, which in most common Git hosting platforms (e.g., GitHub, GitLab, Bitbucket) prevents the PR from merging.
Why Use Status Checks?
Log into CodeAnt
Go to app.codeant.ai and sign in with your account.
Navigate to Settings
Pull Request Configuration
Enable the Checks
Save Your Changes
That’s it! CodeAnt will now run the configured checks each time you create or update a pull request.
If a pull request contains:
CodeAnt will fail the status check. Depending on your Git provider’s settings:
Once you remove the secret or resolve the high-severity issue, CodeAnt will automatically re-check your PR. If no further issues are detected, the status check will pass, and you can proceed with merging safely.