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 47215ba42877da0966c5fb1bc180aa5c91a4c749 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..acbde6ab2 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 org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=master -Pcoverage -DskipAssembly --no-transfer-progress