Merge "build(hooks): allow hooks to skip Commitizen" into integration

This commit is contained in:
Mark Dykes 2023-04-19 17:25:31 +02:00 committed by TrustedFirmware Code Review
commit 93c817f702

View file

@ -3,4 +3,6 @@
# shellcheck source=./_/husky.sh
. "$(dirname "$0")/_/husky.sh"
"$(dirname "$0")/prepare-commit-msg.cz" "$@"
if ! git config --get tf-a.disableCommitizen > /dev/null; then
"$(dirname "$0")/prepare-commit-msg.cz" "$@"
fi