Skip to content

Commit

Permalink
🔄 synced local '.github/.husky/' with remote '.github/.husky/'
Browse files Browse the repository at this point in the history
  • Loading branch information
auto-synchronization-bot[bot] authored Mar 3, 2023
1 parent ec914f5 commit a833c4a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/.husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

commitlint -E HUSKY_GIT_PARAMS

SIGNATURE="Signed-off-by: `git config --global --get user.name` <`git config --global --get user.email`>"
grep -qs "^${SIGNATURE}" "$1" || echo "${SIGNATURE}" >> "$1"
7 changes: 7 additions & 0 deletions .github/.husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: 2022 WebReady Projects <https://github.com/wr-projects/>
#
# SPDX-License-Identifier: MIT
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exec < /dev/tty && git cz --hook || true

0 comments on commit a833c4a

Please sign in to comment.