This is an automated email from the ASF dual-hosted git repository. swebb2066 pushed a commit to branch fix_sonarcloud_action in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 4c4c12360d79c0b64ea52f24c4dd068b2f873b79 Author: Stephen Webb <[email protected]> AuthorDate: Thu Sep 4 11:20:43 2025 +1000 Fix failure in SonarQube Scan CI action --- .github/workflows/sonarcloud.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 85a304e6..13cb0868 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -18,8 +18,8 @@ on: push: branches: - master -# pull_request: -# types: [opened, synchronize, reopened] + pull_request: + types: [opened, synchronize, reopened] jobs: build: @@ -93,7 +93,7 @@ jobs: projectBaseDir: main # Consult https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/scanners/sonarscanner/ for more information and options args: > - --define sonar.host.url="${{ env.SONAR_SERVER_URL }}" - --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" + --define sonar.host.url=${{ env.SONAR_SERVER_URL }} + --define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json --define sonar.coverageReportPaths=build/coverage.xml
