From 45bcc7b24bf1414ab63470fd882b715968660c9d Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 30 Nov 2023 13:46:42 -0800 Subject: [PATCH] CI: Stubs-Dependency only on Push --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c311f4d7..dd74da68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,31 +19,31 @@ jobs: ubuntu: if: github.event.pull_request.draft == false name: 🐧 Ubuntu - needs: [stubs] + needs: ${{ github.event_name == 'push' && 'stubs' || '' }} uses: ./.github/workflows/ubuntu.yml intel: if: github.event.pull_request.draft == false name: 🐧 Intel - needs: [stubs] + needs: ${{ github.event_name == 'push' && 'stubs' || '' }} uses: ./.github/workflows/intel.yml hip: if: github.event.pull_request.draft == false name: 🐧 HIP - needs: [stubs] + needs: ${{ github.event_name == 'push' && 'stubs' || '' }} uses: ./.github/workflows/hip.yml macos: if: github.event.pull_request.draft == false name: 🍏 macOS - needs: [stubs] + needs: ${{ github.event_name == 'push' && 'stubs' || '' }} uses: ./.github/workflows/macos.yml windows: if: github.event.pull_request.draft == false name: 🪟 Windows - needs: [stubs] + needs: ${{ github.event_name == 'push' && 'stubs' || '' }} uses: ./.github/workflows/windows.yml codeql: