feat(admin): enhance TagInput with validation limits and template optimization #365
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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!" |