Sheriff

Best way to monitor your Pull Request health, without letting anyone pass the Sheriff.

"Don't merge that pull request because I'm not okay with it. You listen to me? Uh..."
... 2 hours later: "F*ck, you merged it anyway!"

label

Require pull request to be flagged with a dedicated label before merge. For instance, when adding a "Mergeable" label to your pull request, sheriff will approve.

reviews

Require pull request with required number of approving reviews and no changes requested. For instance, when 2 or more approvals are given to your pull request, sheriff will approve. It will also check on requested reviewers.

commit-msg

Require pull request to have commit messages respecting the conventionalcommits.org. For instance, when all commit messages of your pull request are respecting the conventionalcommits.org, sheriff will approve. You cannot configure convention for now.

branch

Require request branch name match with the given pattern. For instance, when your pull request branch name match with the *-JIRA-* pattern, sheriff will approve.

wip

Require pull request not to be in WIP mode (e.g. WIP: super duper PR). For instance, when you pull request name is not in WIP mode (e.g. WIP: super duper PR), sheriff will approve.