You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ga...@apache.org on 2023/03/20 18:13:39 UTC

[xmlgraphics-commons] branch skynavga/add-workflow-sonar updated: Tweak sonar configuration

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

gadams pushed a commit to branch skynavga/add-workflow-sonar
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-commons.git


The following commit(s) were added to refs/heads/skynavga/add-workflow-sonar by this push:
     new 7805823  Tweak sonar configuration
7805823 is described below

commit 78058238f49c796c5e3469aa183968211e54cdec
Author: Glenn Adams <gl...@skynav.com>
AuthorDate: Mon Mar 20 13:13:13 2023 -0500

    Tweak sonar configuration
---
 .github/workflows/sonarcloud.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index e9464da..626d120 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -50,14 +50,15 @@ jobs:
         uses: SonarSource/sonarcloud-github-action@de2e56b42aa84d0b1c5b622644ac17e505c9a049
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information
-          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}   # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
+          SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}   # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
         with:
           # Additional arguments for the sonarcloud scanner
           args:
             # Unique keys of your project and organization. You can find them in SonarCloud > Information (bottom-left menu)
             # mandatory
-            -Dsonar.projectKey=
-            -Dsonar.organization=
+            -Dsonar.projectKey=xmlgraphics-commons
+            -Dsonar.organization=apache
+            -Dsonar.projectName='Apache XML Graphics Commons'
             # Comma-separated paths to directories containing main source files.
             #-Dsonar.sources= # optional, default is project base directory
             # When you need the analysis to take place in a directory other than the one from which it was launched


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org