Skip to content

Commit

Permalink
fix: release not generated because of commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Oct 30, 2024
1 parent 82d5b12 commit 5a909c0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ pre-commit:
commit-msg:
commands:
commitlint:
run: npx commitlint --edit $GIT_PARAMS
run: |
# Skip commitlint if running in CI
if [[ "$CI" == "true" ]]; then
echo "Skipping commitlint in CI environment."
exit 0
fi
npx commitlint --edit $GIT_PARAMS

0 comments on commit 5a909c0

Please sign in to comment.