ci: standardize release branch pattern to release-X.Y.x (#3999)

Standardize CI workflows to use `release-X.Y.x` branch pattern instead
of multiple numeric variants.

That's the pattern we are settling on. See
https://github.com/llamastack/llama-stack-ops/pull/20 for reference.
This commit is contained in:
Ashwin Bharambe 2025-10-30 21:33:32 -07:00 committed by GitHub
parent e8cd8508b5
commit c396de57a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 12 additions and 34 deletions

View file

@ -47,7 +47,7 @@ runs:
# Check if PR is targeting a release branch
TARGET_BRANCH="${{ github.base_ref }}"
if [[ "$TARGET_BRANCH" =~ ^release-([0-9]+\.){1,3}[0-9]+$ ]]; then
if [[ "$TARGET_BRANCH" =~ ^release-[0-9]+\.[0-9]+\.x$ ]]; then
echo "PR targets release branch: $TARGET_BRANCH"
echo "Checking if matching branch exists in llama-stack-client-python..."