Skip to content

Commit

Permalink
feat: Updated scripts/githooks/commit-msg
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Dec 28, 2023
1 parent 5a85b33 commit 198ea79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/githooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ test "" = "$(grep '^Signed-off-by: ' "$1" |
exit 1
}

# Check if go-gitlint is installed
if ! command -v $GITLINT_DIR &>/dev/null; then
printError "go-gitlint not found. Installing..."
make tools || make tools.verify.go-gitlint
fi

# TODO: go-gitlint dir set
GITLINT_DIR="./_output/tools/go-gitlint"

Expand Down

0 comments on commit 198ea79

Please sign in to comment.