From 8135dbecdba26c93aad9d40dbee67f2fadd63167 Mon Sep 17 00:00:00 2001 From: Subhrodip Mohanta Date: Sat, 29 Aug 2020 17:36:31 +0530 Subject: [PATCH] Update maven-ci.yml --- .github/workflows/maven-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index 304953bc9..cb3b8e45c 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -50,7 +50,8 @@ jobs: # Some tests need screen access - name: Install xvfb run: sudo apt-get install -y xvfb - # SonarQube scan does not work for forked repositories + # The SonarQube analysis is only for the master branch of the main repository. + # SonarQube scan does not work for forked repositories try changing it to xvfb-run mvn clean verify # See https://jira.sonarsource.com/browse/MMF-1371 - name: Build with Maven and run SonarQube analysis run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar