All Collections
FAQ
PR vs. Branch Reviews
PR vs. Branch Reviews

What's the difference between PR and Branch Reviews?

Gabriele Gallo Stampino avatar
Written by Gabriele Gallo Stampino
Updated over a week ago

Pull Request

Clayton runs code reviews of every pull request (merge requests) created toward any tracked branch and publishes approvals if the delta of the code analysed complies with the policies configured.

Scope of the reviews

  • Only the delta of the code introduced

What we publish on Git

  • PR approvals

  • In-line comments on each violation detected in the new code (the delta)

Branch

In addition to the automatic PR scans, Clayton supports feature branch reviews.

Scope of the review

  • The entire branch up to a certain commit/revision (NOT the delta of the code as in the PRs)

What we publish on Git


PR vs. Branch Reviews diagram

Did this answer your question?