diff --git a/.github/workflows/image_310p_openeuler.yml b/.github/workflows/image_310p_openeuler.yml index 67c0aa2..7723a6f 100644 --- a/.github/workflows/image_310p_openeuler.yml +++ b/.github/workflows/image_310p_openeuler.yml @@ -52,13 +52,15 @@ concurrency: jobs: build: name: vllm-ascend image build + # Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64 + # Push event or PR with both 'ready' and 'ready-for-test' labels runs-on: >- ${{ github.event_name == 'push' && github.repository_owner == 'vllm-project' && 'ubuntu-latest' || 'ubuntu-24.04-arm' }} - if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }} + if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }} steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/image_310p_ubuntu.yml b/.github/workflows/image_310p_ubuntu.yml index 5ff6723..3cb8556 100644 --- a/.github/workflows/image_310p_ubuntu.yml +++ b/.github/workflows/image_310p_ubuntu.yml @@ -53,8 +53,10 @@ jobs: build: name: vllm-ascend image build + # Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64 + # Push event or PR with both 'ready' and 'ready-for-test' labels runs-on: ubuntu-latest - if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }} + if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }} steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/image_a3_openeuler.yml b/.github/workflows/image_a3_openeuler.yml index b7712d6..0522367 100644 --- a/.github/workflows/image_a3_openeuler.yml +++ b/.github/workflows/image_a3_openeuler.yml @@ -52,13 +52,15 @@ concurrency: jobs: build: name: vllm-ascend image build + # Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64 + # Push event or PR with both 'ready' and 'ready-for-test' labels runs-on: >- ${{ github.event_name == 'push' && github.repository_owner == 'vllm-project' && 'ubuntu-latest' || 'ubuntu-24.04-arm' }} - if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }} + if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }} steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/image_a3_ubuntu.yml b/.github/workflows/image_a3_ubuntu.yml index 0971e11..9222479 100644 --- a/.github/workflows/image_a3_ubuntu.yml +++ b/.github/workflows/image_a3_ubuntu.yml @@ -53,8 +53,10 @@ jobs: build: name: vllm-ascend image build + # Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64 + # Push event or PR with both 'ready' and 'ready-for-test' labels runs-on: ubuntu-latest - if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }} + if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }} steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/image_openeuler.yml b/.github/workflows/image_openeuler.yml index 829834a..dac832b 100644 --- a/.github/workflows/image_openeuler.yml +++ b/.github/workflows/image_openeuler.yml @@ -51,13 +51,15 @@ concurrency: jobs: build: name: vllm-ascend image build + # Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64 + # Push event or PR with both 'ready' and 'ready-for-test' labels runs-on: >- ${{ github.event_name == 'push' && github.repository_owner == 'vllm-project' && 'ubuntu-latest' || 'ubuntu-24.04-arm' }} - if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }} + if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }} steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/image_ubuntu.yml b/.github/workflows/image_ubuntu.yml index cd5752c..558be4a 100644 --- a/.github/workflows/image_ubuntu.yml +++ b/.github/workflows/image_ubuntu.yml @@ -53,8 +53,10 @@ jobs: build: name: vllm-ascend image build + # Only arm64 build on openEuler arm64, only amd64 build on Ubuntu amd64 + # Push event or PR with both 'ready' and 'ready-for-test' labels runs-on: ubuntu-latest - if: ${{ contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test') }} + if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }} steps: - uses: actions/checkout@v4 with: