Merge Check Hook

The Merge Check Hook runs whenever a developer opens a pull request page in the repository and introduces restrictions on merging the pull request by specific conditions.

A failed pipeline means that the code changes pushed to a branch don’t qualify by the team standards such as:

  • code can be compiled successfully
  • code linters have passed the check
  • unit and integration tests passed successfully
  • the package can be deployed

The Snake CI Merge Check Hook introduces restrictions on merging pull requests to avoid merging unqualified code changes. It ensures that the latest pipeline has completed successfully.

The Snake CI Merge Check Hook is enabled by default for all repositories and can be disabled in repository settings by users with admin privileges.


Last modified September 17, 2020