From b20f6e760fcc905441f56ec8a0328e9b3437459f Mon Sep 17 00:00:00 2001 From: Alex Cameron Date: Sat, 15 Aug 2026 15:18:39 +0000 Subject: [PATCH] fix(ci): attach GPU checks to pushed commits --- .github/workflows/gpu.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gpu.yml b/.github/workflows/gpu.yml index c92f159..6a95c9b 100644 --- a/.github/workflows/gpu.yml +++ b/.github/workflows/gpu.yml @@ -1,12 +1,10 @@ name: GPU on: + push: + branches: [canon] pull_request: types: [labeled] - workflow_run: - workflows: [CI] - types: [completed] - branches: [canon] permissions: contents: read @@ -19,11 +17,10 @@ env: jobs: gpu-test: if: >- + github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.label.name == 'gpu-test' && github.actor == github.repository_owner && github.triggering_actor == github.repository_owner && - github.event.pull_request.head.repo.full_name == github.repository) || - (github.event_name == 'workflow_run' && github.event.workflow_run.event == 'push' && - github.event.workflow_run.conclusion == 'success') + github.event.pull_request.head.repo.full_name == github.repository) concurrency: group: gpu-ci cancel-in-progress: false @@ -32,8 +29,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - ref: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || github.sha }} - name: Install LLVM ${{ env.LLVM_VERSION }} and MLIR run: |