Future versions of HighFlux will allow you to configure and unify work-in-progress processes, workflows and tools across the entire team.
The first start HighFlux provides is a “hook” that runs prior to merging a WIP, and can block the "merge" process.
To setup a pre-merge hook, add the file
If this script returns an exit code different than 0, the merge will be blocked.
For example, here’s a script that makes sure your rust code is properly formatted:
( cd rust-project
if ! cargo fmt --check; then
echo -e '\nPlease run "cargo fmt" before hf merge'