Browse Source

Update sonar.yaml

Fix scan only kafka-ui-react-app
Dmitriy Kharlamov 4 years ago
parent
commit
d45b55eaaf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/sonar.yaml

+ 2 - 0
.github/workflows/sonar.yaml

@@ -15,6 +15,8 @@ jobs:
           fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis
           fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis
       - name: SonarCloud Scan
       - name: SonarCloud Scan
         uses: SonarSource/sonarcloud-github-action@master
         uses: SonarSource/sonarcloud-github-action@master
+        with:
+          projectBaseDir: kafka-ui-react-app
         env:
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any
           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}