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 716bae4 commit 4d2574d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion src/libraries

0 comments on commit 4d2574d

Please sign in to comment.