From 3afc6116276b9d1d11e9f368a7fa7ed450c76807 Mon Sep 17 00:00:00 2001 From: darefjev44 <71537609+darefjev44@users.noreply.github.com> Date: Sat, 20 Apr 2024 15:23:10 +0100 Subject: [PATCH] only build/run junit tests when sonarcloud completes --- .github/workflows/junit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/junit.yml b/.github/workflows/junit.yml index a89d6b326..7d9df37cc 100644 --- a/.github/workflows/junit.yml +++ b/.github/workflows/junit.yml @@ -9,10 +9,10 @@ name: JUnit with Maven on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + workflow_run: + workflows: ["SonarCloud analysis"] + types: + - completed jobs: test: