Skip to content

Commit b423312

Browse files
authored
[GITHUB ACTION] Update BO process - add codeowner change and push to pre-releases (#663)
Signed-off-by: Chendi Xue <[email protected]>
1 parent 36d92db commit b423312

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/create-release-branch.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99
inputs:
1010
branch_name:
11-
description: "The new release branch name (e.g., 'releases/v0.11.0')"
11+
description: "The new release branch name (e.g., 'pre-releases/v0.11.0')"
1212
required: true
1313
type: string
1414

@@ -59,11 +59,11 @@ jobs:
5959
id: extract_tag
6060
run: |
6161
BRANCH_NAME="${{ github.event.inputs.branch_name }}"
62-
if [[ "$BRANCH_NAME" != releases/* ]]; then
63-
echo "::error::Branch name must follow the 'releases/**' pattern."
62+
if [[ "$BRANCH_NAME" != pre-releases/* ]]; then
63+
echo "::error::Branch name must follow the 'pre-releases/**' pattern."
6464
exit 1
6565
fi
66-
TAG_NAME="${BRANCH_NAME#releases/}"
66+
TAG_NAME="${BRANCH_NAME#pre-releases/}"
6767
echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
6868
echo "Extracted tag name: $TAG_NAME"
6969
@@ -107,6 +107,9 @@ jobs:
107107
echo "${{ steps.get_vllm_commit.outputs.commit_id }}" > VLLM_STABLE_COMMIT
108108
git add VLLM_STABLE_COMMIT
109109
git commit -m "Set vLLM stable commit for ${{ steps.extract_tag.outputs.tag_name }}"
110+
echo "* @mgawarkiewicz-intel @wpyszka @piotrbocian" > .github/CODEOWNERS
111+
git add .github/CODEOWNERS
112+
git commit -m "update CODEOWNERS for ${{ steps.extract_tag.outputs.tag_name }}"
110113
git push -u origin "$BRANCH_NAME"
111114
echo "✅ Successfully created and pushed new branch '$BRANCH_NAME'."
112115

.github/workflows/pre-merge.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches:
77
- main
88
- releases/**
9+
- pre-releases/**
910

1011
# Allow manual triggering for testing purposes
1112
workflow_dispatch: {}

0 commit comments

Comments
 (0)