From 1953fa755e63a3673a7e3ac918f15d1dae85c4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Helge=20Str=C3=B8m?= Date: Thu, 19 Sep 2024 13:11:02 +0200 Subject: [PATCH] Skip jacoco job for merge_queue --- .github/workflows/build-and-deploy-preprod.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-and-deploy-preprod.yml b/.github/workflows/build-and-deploy-preprod.yml index 8906e3136..21156fd12 100644 --- a/.github/workflows/build-and-deploy-preprod.yml +++ b/.github/workflows/build-and-deploy-preprod.yml @@ -54,6 +54,7 @@ jobs: - name: Upload Report uses: 'actions/upload-artifact@v4' + if: github.event_name != 'merge_group' with: name: jacoco-report path: ${{ github.workspace }}/target/site/jacoco/ @@ -61,6 +62,7 @@ jobs: - name: Add coverage to PR id: jacoco + if: github.event_name != 'merge_group' uses: madrapps/jacoco-report@v1.7.0 with: paths: ${{ github.workspace }}/target/site/jacoco/jacoco.xml