From 264cc254cc55d0ccae2dd1927c0a2277d6c59eba Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Thu, 8 Jan 2026 09:27:45 +0800 Subject: [PATCH] [CI] fix image build tag (#5703) ref doesn't work with workflow_dispatch, let's change it to raw way This PR also merge the pr_create job into one runner to save resource. - vLLM version: v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/2f4e6548efec402b913ffddc8726230d9311948d Signed-off-by: wangxiyuan --- .github/workflows/_schedule_image_build.yaml | 2 +- .github/workflows/bot_pr_create.yaml | 20 ++++++------------- .../schedule_image_build_and_push.yaml | 2 +- .../schedule_release_code_and_wheel.yml | 2 +- 4 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/_schedule_image_build.yaml b/.github/workflows/_schedule_image_build.yaml index 911a5daf..f3a52c9b 100644 --- a/.github/workflows/_schedule_image_build.yaml +++ b/.github/workflows/_schedule_image_build.yaml @@ -144,7 +144,7 @@ jobs: tags: | type=pep440,pattern={{raw}},suffix=${{ env.SUFFIX }} type=schedule,pattern=main,suffix=${{ env.SUFFIX }} - type=ref,event=workflow_dispatch,suffix=${{ env.SUFFIX }} + type=raw,event=workflow_dispatch,suffix=${{ env.SUFFIX }} flavor: latest=false diff --git a/.github/workflows/bot_pr_create.yaml b/.github/workflows/bot_pr_create.yaml index 9b898107..04fb1af0 100644 --- a/.github/workflows/bot_pr_create.yaml +++ b/.github/workflows/bot_pr_create.yaml @@ -28,8 +28,11 @@ permissions: pull-requests: write jobs: - commit-update: - name: format PR body + pr-create: + permissions: + contents: read + pull-requests: write + name: PR create action runs-on: ubuntu-latest steps: - name: Get vLLM version @@ -85,13 +88,6 @@ jobs: echo "No changes needed" fi - pr-label: - name: Pull Request Labeler - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - steps: - name: Label the PR uses: actions/labeler@v6 with: @@ -99,10 +95,6 @@ jobs: configuration-path: .github/labeler.yml sync-labels: true - pr-reminder: - name: PR Reminder Comment Bot - runs-on: ubuntu-latest - steps: - name: Remind to run full CI on PR uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: @@ -118,4 +110,4 @@ jobs: 'If CI fails, you can run linting and testing checks locally according [Contributing](https://vllm-ascend.readthedocs.io/zh-cn/latest/developer_guide/contribution/index.html) and [Testing](https://vllm-ascend.readthedocs.io/zh-cn/latest/developer_guide/contribution/testing.html).' }) env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/schedule_image_build_and_push.yaml b/.github/workflows/schedule_image_build_and_push.yaml index 8b0d104a..34013c3d 100644 --- a/.github/workflows/schedule_image_build_and_push.yaml +++ b/.github/workflows/schedule_image_build_and_push.yaml @@ -12,7 +12,7 @@ name: Image Build and Push on: schedule: - - cron: '0 */2 * * *' + - cron: '0 */4 * * *' push: tags: - 'v*' diff --git a/.github/workflows/schedule_release_code_and_wheel.yml b/.github/workflows/schedule_release_code_and_wheel.yml index b7f5c233..e7f3b10b 100644 --- a/.github/workflows/schedule_release_code_and_wheel.yml +++ b/.github/workflows/schedule_release_code_and_wheel.yml @@ -19,7 +19,7 @@ name: Release Code and Wheel on: schedule: - - cron: '0 */2 * * *' + - cron: '0 */4 * * *' push: tags: - 'v*'