captainhook
captainhook copied to clipboard
CaptainHook is a very flexible git hook manager for software developers that makes sharing git hooks with your team a breeze.
## Use Case As a project maintainer, I want Git hooks to interactively prompt contributors and accept input from them in order to proceed with the hook's action. For example,...
When commiting with `git commit -v` If I enter the commit message with only a subject and a new line, the validator passes: ``` Fix CS on commit # Please...
Via [this blog post](https://blog.acolyer.org/2019/04/08/how-bad-can-it-git-characterizing-secret-leakage-in-public-github-repositories/) I came across [this paper](https://www.ndss-symposium.org/wp-content/uploads/2019/02/ndss2019_04B-3_Meli_paper.pdf) which contains a list of regex expressions to characterize potential passwords. It would be cool to have an action which could...
Recently we have tried to add captainhook to our project, currently using a dockerized project with a **PHP container**, so for that reason, we used the following command as we...
Fix few typos for `FileChanged` condition as well as `\CaptainHook\App\Hook\Condition\FileChanged\Any` href which was referencing `FileStaged` condition.
We are adding some additional (micro) services to our project, so now we have: ``` composer.json composer.lock services/ foo/ package.json package-lock.json ``` I'd like to be able to check for...
Is it possible to do something like the following, where the placeholder would be replaced with the hardcoded value when installing the hooks? I tried it, but it stays the...
Is it possible to add a feature to be able to have parallel executions? One Example: "pre-commit": { "enabled": true, "actions": [ { "action": "Action1" }, { "action": "\\Parallel\\Actions", "actions":...
Hello everyone, I'm running CaptainHook in a somewhat "special" environment. CaptainHook is "installed" as the PHAR file via PHIVE. The git repository I want to use CaptainHook for, is a...