mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
ci: support release branches with 2-4 version segments
This commit is contained in:
parent
90234d6973
commit
4a770b749a
8 changed files with 37 additions and 13 deletions
|
|
@ -47,7 +47,7 @@ runs:
|
|||
# Check if PR is targeting a release branch
|
||||
TARGET_BRANCH="${{ github.base_ref }}"
|
||||
|
||||
if [[ "$TARGET_BRANCH" =~ ^release-[0-9]+\.[0-9]+\.x-maint$ ]]; then
|
||||
if [[ "$TARGET_BRANCH" =~ ^release-([0-9]+\.){1,3}[0-9]+$ ]]; then
|
||||
echo "PR targets release branch: $TARGET_BRANCH"
|
||||
echo "Checking if matching branch exists in llama-stack-client-python..."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue