Skip to content

Commit

Permalink
fixed project name/key for general usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Matte22 committed Oct 17, 2023
1 parent 8a45d9f commit 897291a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/api-audit-test-coverage-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,13 @@ jobs:
uses: SonarSource/[email protected]
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.SONAR_TOKEN }} # Needed to push to SonarCloud
with:
# Additional arguments for the sonarcloud scanner
projectBaseDir: ./api/source
args: -Dsonar.projectKey=Matte22_stig-manager
args: -Dsonar.projectKey=stig-manager
-Dsonar.projectName=stig-manager-API
-Dsonar.organization=stig-manager
-Dsonar.projectName=Matte22_stig-manager-API
-Dsonar.inclusions=**/*.js
-Dsonar.exclusions=**/node_modules/**,**/coverage-report/**
-Dsonar.javascript.lcov.reportPaths=./lcov.info
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/client-sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
uses: SonarSource/[email protected]
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.SONAR_TOKEN }} # Needed to push to SonarCloud
with:
projectBaseDir: ./client/src
# Additional arguments for the sonarcloud scanner
args:
-Dsonar.projectKey=Matte22_stig-manager:client
-Dsonar.projectName=Matte22_stig-manager-Client
-Dsonar.projectKey=stig-manager:client
-Dsonar.projectName=stig-manager-Client
-Dsonar.organization=stig-manager
-Dsonar.inclusions=**/*.js,**/*.html
-Dsonar.exclusions=**/node_modules/**
Expand Down

0 comments on commit 897291a

Please sign in to comment.