Skip to content

Commit

Permalink
Merge pull request #110 from JsDaddy/feat/check-commit
Browse files Browse the repository at this point in the history
feat(ref: no-ref): add check commit msg
  • Loading branch information
andriikamaldinov1 authored Mar 25, 2024
2 parents 9cc60ae + 5043d1e commit 23999ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/.hooks/pre-commit/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 23999ef

Please sign in to comment.