odftoolkit icon indicating copy to clipboard operation
odftoolkit copied to clipboard

run sonar when merging pull requests into master

Open xzel23 opened this issue 5 months ago • 0 comments

sonar should also run when pull requests are merged.

@svanteschubert since I do not have access to the settings in Git, do you know if the configuration described in #386 has been done? We only need the secrets.SONAR_TOKEN and change the sonar credentials in Maven.yml:

      - name: Build and analyze
        env:
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
        run: >
          mvn -B verify
          -Dsonar.host.url=https://sonarcloud.io
          -Dsonar.projectKey=<FILL IN>
          -Dsonar.organization=<FILL_IN>
          -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco-ut/jacoco.xml
          org.sonarsource.scanner.maven:sonar-maven-plugin:sonar

If you cannot change the settings and update the configuration, can you tell me who I should contact?

xzel23 avatar Aug 03 '25 10:08 xzel23