Переглянути джерело

Update sonar.yaml

Fix scan only kafka-ui-react-app
Dmitriy Kharlamov 4 роки тому
батько
коміт
d45b55eaaf
1 змінених файлів з 2 додано та 0 видалено
  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
       - name: SonarCloud Scan
         uses: SonarSource/sonarcloud-github-action@master
+        with:
+          projectBaseDir: kafka-ui-react-app
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any
           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}