Feature | Extend Swagger Coverage for controller OAuth2PresentationApiController #883
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
| name: Validate Branch Name | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| jobs: | |
| check-branch-name: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check branch name format | |
| run: | | |
| BRANCH_NAME="${{ github.head_ref }}" | |
| echo "Checking branch name: $BRANCH_NAME" | |
| if [[ ! "$BRANCH_NAME" =~ ^(chore|feature|fix|hotfix|patch|refactor)/[a-z0-9._-]+$ ]]; then | |
| echo "❌ Invalid branch name: $BRANCH_NAME" | |
| echo "✅ Should match: feature/foo-bar, hotfix/issue-123, etc." | |
| exit 1 | |
| fi |