Skip to content

Commit d2250c8

Browse files
authored
Enable push trigger for image job (#2906)
### What this PR does / why we need it? Enable push trigger for image job ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed Followup on #2864 - vLLM version: v0.10.2rc2 - vLLM main: vllm-project/vllm@89e08d6 Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
1 parent 339fceb commit d2250c8

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

.github/workflows/image_310p_openeuler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ concurrency:
5252
jobs:
5353
build:
5454
name: vllm-ascend image build
55+
# Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64
56+
# Push event or PR with both 'ready' and 'ready-for-test' labels
5557
runs-on: >-
5658
${{
5759
github.event_name == 'push' && github.repository_owner == 'vllm-project' &&
5860
'ubuntu-latest' ||
5961
'ubuntu-24.04-arm'
6062
}}
61-
if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }}
63+
if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }}
6264
steps:
6365
- uses: actions/checkout@v4
6466
with:

.github/workflows/image_310p_ubuntu.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ jobs:
5353

5454
build:
5555
name: vllm-ascend image build
56+
# Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64
57+
# Push event or PR with both 'ready' and 'ready-for-test' labels
5658
runs-on: ubuntu-latest
57-
if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }}
59+
if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }}
5860
steps:
5961
- uses: actions/checkout@v4
6062
with:

.github/workflows/image_a3_openeuler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ concurrency:
5252
jobs:
5353
build:
5454
name: vllm-ascend image build
55+
# Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64
56+
# Push event or PR with both 'ready' and 'ready-for-test' labels
5557
runs-on: >-
5658
${{
5759
github.event_name == 'push' && github.repository_owner == 'vllm-project' &&
5860
'ubuntu-latest' ||
5961
'ubuntu-24.04-arm'
6062
}}
61-
if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }}
63+
if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }}
6264
steps:
6365
- uses: actions/checkout@v4
6466
with:

.github/workflows/image_a3_ubuntu.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ jobs:
5353

5454
build:
5555
name: vllm-ascend image build
56+
# Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64
57+
# Push event or PR with both 'ready' and 'ready-for-test' labels
5658
runs-on: ubuntu-latest
57-
if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }}
59+
if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }}
5860
steps:
5961
- uses: actions/checkout@v4
6062
with:

.github/workflows/image_openeuler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ concurrency:
5151
jobs:
5252
build:
5353
name: vllm-ascend image build
54+
# Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64
55+
# Push event or PR with both 'ready' and 'ready-for-test' labels
5456
runs-on: >-
5557
${{
5658
github.event_name == 'push' && github.repository_owner == 'vllm-project' &&
5759
'ubuntu-latest' ||
5860
'ubuntu-24.04-arm'
5961
}}
60-
if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }}
62+
if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }}
6163
steps:
6264
- uses: actions/checkout@v4
6365
with:

.github/workflows/image_ubuntu.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ jobs:
5353

5454
build:
5555
name: vllm-ascend image build
56+
# Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64
57+
# Push event or PR with both 'ready' and 'ready-for-test' labels
5658
runs-on: ubuntu-latest
57-
if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }}
59+
if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }}
5860
steps:
5961
- uses: actions/checkout@v4
6062
with:

0 commit comments

Comments
 (0)