diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index acdb1d501..e739175a9 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -55,7 +55,7 @@ jobs: fetch-depth: 0 - name: Analyze with SonarCloud - uses: SonarSource/sonarqube-scan-action@v5.0.0 + uses: SonarSource/sonarqube-scan-action@v5.2.0 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) diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 000000000..3a4634d72 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,2 @@ +sonar.projectKey=zabbix-docker +sonar.organization=zabbix \ No newline at end of file