Skip to content

Add check to make sure local main branch is neither behind nor ahead of remote main branch

Created by: marsblkm

Solve #31734 (closed)

Added a simple, similar check to make sure local main branch is not ahead of remote main branch as well.

Test plan

@coury-clark tested locally by removing the main branch limitation, testing a dry run slack update before the new commit, pushing a new commit, and testing to receive this error:

image

Merge request reports

Loading