From 424c52f88d92d05f3fcd8dba766aaa88d28335fa 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 | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c311f4d7..768921c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,37 +17,32 @@ jobs: uses: ./.github/workflows/stubs.yml ubuntu: - if: github.event.pull_request.draft == false + if: always() && !contains(needs.*.result, 'failure') && github.event.pull_request.draft == false name: 🐧 Ubuntu needs: [stubs] uses: ./.github/workflows/ubuntu.yml intel: - if: github.event.pull_request.draft == false name: 🐧 Intel - needs: [stubs] + needs: [ubuntu] uses: ./.github/workflows/intel.yml hip: - if: github.event.pull_request.draft == false name: 🐧 HIP - needs: [stubs] + needs: [ubuntu] uses: ./.github/workflows/hip.yml macos: - if: github.event.pull_request.draft == false name: 🍏 macOS - needs: [stubs] + needs: [ubuntu] uses: ./.github/workflows/macos.yml windows: - if: github.event.pull_request.draft == false name: 🪟 Windows - needs: [stubs] + needs: [ubuntu] uses: ./.github/workflows/windows.yml codeql: - if: github.event.pull_request.draft == false name: 🔎 CodeQL needs: [ubuntu] permissions: