Files
monie-landing/.husky/pre-push
Denis Krylov e406c55c89
All checks were successful
Deploy monie-landing (kaniko) / build-and-deploy (push) Successful in 14m15s
chore: initialize project
2026-04-04 23:14:39 +03:00

20 lines
479 B
Bash
Executable File

#!/usr/bin/env sh
# branch="$(git rev-parse --abbrev-ref HEAD)"
# case "$branch" in
# main|develop)
# echo "Direct pushes to $branch are not allowed."
# echo "Please create a feature/... or bugfix/... branch and open a PR/MR."
# exit 1
# ;;
# feature/*|bugfix/*|hotfix/*|chore/*)
# exit 0
# ;;
# *)
# echo "Invalid branch name: $branch"
# echo "Allowed branch prefixes: feature/*, bugfix/*, hotfix/*, chore/*"
# exit 1
# ;;
# esac