Skip to content

feat(admin): add EntityForm component with core components #357

feat(admin): add EntityForm component with core components

feat(admin): add EntityForm component with core components #357

# SPDX-FileCopyrightText: 2025 hexaTune LLC
# SPDX-License-Identifier: MIT
name: 🧪 Enforce Branch Naming
on:
pull_request:
branches:
- develop
types: [opened, edited, synchronize, reopened]
jobs:
check-branch-name:
name: Check Branch Name (hexaWebShare)
runs-on: ubuntu-latest
steps:
- name: Validate branch name
run: |
BRANCH_NAME="${{ github.head_ref }}"
echo "Checking branch name: $BRANCH_NAME"
if [[ ! "$BRANCH_NAME" =~ ^(main|feat/.+|fix/.+|chore/.+|refactor/.+|test/.+|docs/.+|ci/.+|perf/.+|build/.+|hotfix/.+|style/.+)$ ]]; then
echo "❌ INVALID BRANCH NAME"
echo ""
echo "Only the following branch types are allowed for feature or fix work:"
echo " feat/, fix/, chore/, refactor/, test/, docs/, ci/, perf/, build/, hotfix/, style/"
echo ""
echo "Valid examples:"
echo " develop"
echo " main"
echo " feat/add-auth-handler"
echo " fix/login-crash"
echo " chore/cleanup-configs"
echo ""
echo "❗ Branch names must match the format:"
echo " <type>/<description>"
echo ""
exit 1
fi
echo "✔ Branch name valid!"