Bypass check for version commit
This commit is contained in:
parent
0bc782db2a
commit
034b7e8273
@ -13,6 +13,10 @@ if echo "$commitTitle" | grep -qE "Merge branch"; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! echo "$commitTitle" | grep "Automatically generated "; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# check semantic versioning scheme
|
# check semantic versioning scheme
|
||||||
if ! echo "$commitTitle" | grep -qE '^(feat|fix|docs|style|refactor|perf|test|chore|build|ci|revert)(\([a-z0-9\s\-\_\,]+\))?!?:\s\w'; then
|
if ! echo "$commitTitle" | grep -qE '^(feat|fix|docs|style|refactor|perf|test|chore|build|ci|revert)(\([a-z0-9\s\-\_\,]+\))?!?:\s\w'; then
|
||||||
echo "Your commit message did not follow semantic versioning: $commitTitle"
|
echo "Your commit message did not follow semantic versioning: $commitTitle"
|
||||||
|
Loading…
Reference in New Issue
Block a user