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: