Skip to content

Commit

Permalink
Merge pull request #1332 from JsDaddy/feat/add-commit-msg
Browse files Browse the repository at this point in the history
feat(ref: no-ref): add commit msg to hooks
  • Loading branch information
andriikamaldinov1 authored Mar 25, 2024
2 parents 058bd20 + 63fa975 commit 1750b39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/.hooks/commit-msg/check-commit-msg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin

set -e

commit_msg=$(cat .git/COMMIT_EDITMSG)
echo "$commit_msg" | npx commitlint

0 comments on commit 1750b39

Please sign in to comment.