This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch fix/sonar
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 5883c2ea5e8d0cffb36b878c8e48432bbbdc4acb
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Sun Apr 21 13:44:32 2024 +0200

    Always run Sonar scan against the master branch
---
 .github/workflows/sonar.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index 4a3667e4c..f8434e021 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -44,4 +44,4 @@ jobs:
       - env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
-        run: mvn -B -V -Pcoverage -DskipAssembly verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --no-transfer-progress
+        run: ./mvnw verify sonar:sonar -Dsonar.branch.name=master -Pcoverage 
-DskipAssembly --no-transfer-progress

Reply via email to