Merge Check Hook

The Merge Check Hook runs whenever a developer opens a pull request in the repository. It introduced restrictions for merging the pull request using specific conditions.

A failed pipeline means that the code changes in the pull request don’t meet team standards like:

  • compilation succeeded
  • code linters passed
  • unit and integration tests passed
  • deployment checks passed

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 the repository settings by users with admin privileges.

example


Last modified October 21, 2020