From 96921fe79917c38b751618f71eaa64f9d94384e6 Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Tue, 3 Feb 2026 21:39:17 -0500 Subject: [PATCH] fix: workflow conditions for push events The if conditions were checking github.event.inputs.image == '' which fails for push events where inputs is undefined. Changed logic to run all builds unless this is a workflow_dispatch with a specific image selected. --- .gitea/workflows/build-push.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index 815ead7..03b583a 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -34,7 +34,7 @@ jobs: if: | !contains(github.event.head_commit.message, '[skip images]') && !contains(github.event.head_commit.message, '[ray-serve only]') && - (github.event.inputs.image == 'all' || github.event.inputs.image == 'nvidia' || github.event.inputs.image == '') + (github.event_name != 'workflow_dispatch' || github.event.inputs.image == 'all' || github.event.inputs.image == 'nvidia') runs-on: ubuntu-latest steps: - name: Checkout @@ -90,7 +90,7 @@ jobs: if: | !contains(github.event.head_commit.message, '[skip images]') && !contains(github.event.head_commit.message, '[ray-serve only]') && - (github.event.inputs.image == 'all' || github.event.inputs.image == 'rdna2' || github.event.inputs.image == '') + (github.event_name != 'workflow_dispatch' || github.event.inputs.image == 'all' || github.event.inputs.image == 'rdna2') runs-on: ubuntu-latest steps: - name: Checkout @@ -143,7 +143,7 @@ jobs: if: | !contains(github.event.head_commit.message, '[skip images]') && !contains(github.event.head_commit.message, '[ray-serve only]') && - (github.event.inputs.image == 'all' || github.event.inputs.image == 'strixhalo' || github.event.inputs.image == '') + (github.event_name != 'workflow_dispatch' || github.event.inputs.image == 'all' || github.event.inputs.image == 'strixhalo') runs-on: ubuntu-latest steps: - name: Checkout @@ -196,7 +196,7 @@ jobs: if: | !contains(github.event.head_commit.message, '[skip images]') && !contains(github.event.head_commit.message, '[ray-serve only]') && - (github.event.inputs.image == 'all' || github.event.inputs.image == 'intel' || github.event.inputs.image == '') + (github.event_name != 'workflow_dispatch' || github.event.inputs.image == 'all' || github.event.inputs.image == 'intel') runs-on: ubuntu-latest steps: - name: Checkout