From 2e4fc0a76dce50dfc66b2daffe44aec7ae0ecd6f Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Thu, 11 May 2023 13:52:28 +0100 Subject: [PATCH] Don't run SonarCloud when a change is in the merge queue (#10863) We are not interested in coverage information when a PR has already been approved, and we were seeing flakiness with SonarCloud with the "no artifacts found" error https://github.com/vector-im/element-web/issues/25334 . --- .github/workflows/sonarqube.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index b0d0415cf1..1293e6e665 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -10,6 +10,7 @@ concurrency: jobs: sonarqube: name: 🩻 SonarQube + if: github.event.workflow_run.event != 'merge_group' uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}