diff --git a/.forgejo/workflows/sonar.yml b/.forgejo/workflows/sonar.yml index 382922c..30175c3 100644 --- a/.forgejo/workflows/sonar.yml +++ b/.forgejo/workflows/sonar.yml @@ -18,9 +18,8 @@ jobs: with: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 - - name: SonarQube Scan - uses: https://github.com/kitabisa/sonarqube-action@v1.2.0 + - name: "SonarQube Quality gate" + uses: sonarsource/sonarqube-quality-gate-action@master with: - host: ${{ secrets.SONARQUBE_HOST }} - login: ${{ secrets.SONARQUBE_TOKEN }} - projectKey: ${{ secrets.SONARQUBE_PROJECT_KEY }} \ No newline at end of file + SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }} + SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} \ No newline at end of file