-
-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
Description
When you have multiple pre-commit hooks, you can only use vendor/bin/captainhook pre-commit to execute all of them.
But I want to only execute a single hook on CI.
Use case: My pre-commit hook runs phpstan, php-cs-fixer, phpunit and a custom CaptainHook PHP implementation.
On CI I run phpstan, php-cs-fixer and phpunit separately. But the custom CaptainHook PHP implementation I want to run.
Ideally, I can name them, and then use vendor/bin/captainhook pre-commit the-name.