ci: standardize release branch pattern to release-X.Y.x

Update all CI workflows and actions to use the standardized release branch
naming convention 'release-X.Y.x' (e.g., release-0.3.x) instead of matching
multiple numeric patterns.

Changes:
- Update workflow triggers to match 'release-[0-9]+.[0-9]+.x' pattern
- Update bash regex in setup-test-environment to match new format
- Simplifies branch pattern from multiple variants to single standard
This commit is contained in:
Ashwin Bharambe 2025-10-30 21:25:42 -07:00
parent e8cd8508b5
commit 2ea18839a3
7 changed files with 12 additions and 34 deletions

View file

@ -6,15 +6,11 @@ on:
push:
branches:
- main
- 'release-[0-9]+.[0-9]+.[0-9]+.[0-9]+'
- 'release-[0-9]+.[0-9]+.[0-9]+'
- 'release-[0-9]+.[0-9]+'
- 'release-[0-9]+.[0-9]+.x'
pull_request:
branches:
- main
- 'release-[0-9]+.[0-9]+.[0-9]+.[0-9]+'
- 'release-[0-9]+.[0-9]+.[0-9]+'
- 'release-[0-9]+.[0-9]+'
- 'release-[0-9]+.[0-9]+.x'
paths:
- 'src/llama_stack/**'
- '!src/llama_stack/ui/**'