Clayton code reviews can be triggered in two different ways:

Manual

Code reviews can be trigger manually:

  1. Go to your Clayton homepage
  2. Click on your project
  3. Click on the project name on top
  4. Click on Launch a review button

With Clayton is now possible to trigger code reviews targeting specific Branches of your repo or specific Pull requests available for your project.

Webhook

Clayton can trigger reviews automatically after every pull request in order to continuously monitor the projects and keep the quality of your code under control.
To enable Clayton to trigger reviews automatically the Project Lead or the Admin user must configure the projects with the Trigger reviews on pull requests toggle on:

  1. Go to your Clayton homepage
  2. Click on your project
  3. Click on the project name on top
  4. Click on Project settings
  5. Switch on the Trigger reviews on pull requests toggle

Results

Once the review is done you will be able to see the results and check the issues Clayton may detected.

Did this answer your question?