Skip to content

Commit

Permalink
feat(ref: no-ref): add commit msg to hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
andriikamaldinov1 committed Mar 25, 2024
1 parent 058bd20 commit 63fa975
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 63fa975

Please sign in to comment.