mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 11:05:08 +02:00
346925fcdc
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
10 lines
331 B
Bash
10 lines
331 B
Bash
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
REPO_DIR="$(git rev-parse --show-toplevel)"
|
|
HELP_URL="https://github.com/LunarVim/LunarVim/blob/rolling/CONTRIBUTING.md#commit-messages"
|
|
CONFIG="$REPO_DIR/.github/workflows/commitlint.config.js"
|
|
|
|
if ! npx commitlint --edit --verbose --help-url "$HELP_URL" --config "$CONFIG"; then
|
|
exit 1
|
|
fi
|