You can make sure that every time someone makes a pull request to a specific branch (or a set of branches), SoftaCheck must pass in order to be able to do the merge.

First, add SoftaCheck to your repository.

Then, setup your targeted branch (or branches) as protected. In GitHub this can be done by going to your repository and there go to settings –> Branches –> Branch protection rules –> Add rule

then in the “branch name pattern” write the branch to which you want this to apply (you can use * to make the rule apply to a group of branches with similar names. e.g. “Test*” would apply to “Test1” and “Test2” assuming you have such branch names).

Then select “Require pull request reviews before merging”

Then select “Require status checks to pass before merging” and select “SoftaCheck”.

If you want to enforce the rule also on yourself as an administrator then mark also “Include administrators”

Then click “Save Changes”

 

Now, you won’t be able to push to that branch without doing a pull request and passing the analysis by SoftaCheck. Moreover, no one would be able to mess with your protected branch (or branches) without verifying that the SoftaCheck analysis passed.