Clayton helps you keep your code quality under control automatically, by monitoring and reviewing your code when it changes in your repository.

Webhooks in your version control system, let Clayton listen to specific Git events and trigger reviews in real-time (ref. How the Clayton code reviews work).

How to enable automated code reviews

Clayton creates webhooks automatically to monitor for relevant events in your repository. To set up the automation, please do the following steps:

  1. Log in to Clayton https://app.clayton.io/
  2. Go to your project page
  3. Click on Project name on top bar
  4. Click on Project settingsĀ 
  5. Switch on the Trigger reviews on push and Trigger reviews on pull requests toggles

Scan only what you need

In your project settings page, with the Scan only contributions towards the main branch toggle you can decide to scan automatically every push and pull requests or only contributions towards the configured main branch:

Quality Gate

Do you want to create a quality gate for your projects with Clayton?
Have a look at our dedicated Help Section to learn how to make sure that newly committed code doesn't introduce problems.

Did this answer your question?