Run git config core.hooksPath .githooks once per clone. The pre-push hook then runs scripts/check, the same checks as CI, and a failed check stops the push.
The code is MIT licensed; see LICENSE. The text, images and other site content are © Sean Kennedy, all rights reserved.