From 30b151a15d9624034edfa03a8c463f40964c2ce0 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Mon, 21 Nov 2022 14:38:13 +0100 Subject: [PATCH] ci: enable SonarQube analysis for pull requests Cherry-picked from 7cb5aefb5badf2bff333928fe429498fe9c8a73e --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5d1a4b..8ee8c21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Test run: mvn -B -P coverage clean verify - name: Analysis - if: matrix.analysis && github.event_name == 'push' + if: matrix.analysis run: > mvn -B sonar:sonar -Dsonar.host.url=https://sonarcloud.io