diff --git a/action.yml b/action.yml index 8d66ee6..31659dc 100644 --- a/action.yml +++ b/action.yml @@ -75,7 +75,7 @@ runs: # If sonar_project_token and sonar_comment_token, then run with comments - name: SonarCloud Scan if: inputs.sonar_project_token && inputs.sonar_comment_token - uses: SonarSource/sonarcloud-github-action@v1.8 + uses: SonarSource/sonarcloud-github-action@v2.0.0 env: GITHUB_TOKEN: ${{ inputs.sonar_comment_token }} SONAR_TOKEN: ${{ inputs.sonar_project_token }} @@ -88,7 +88,7 @@ runs: # If sonar_project_token and not sonar_comment_token, then run without comments - name: SonarCloud Scan if: inputs.sonar_project_token && ! inputs.sonar_comment_token - uses: SonarSource/sonarcloud-github-action@v1.8 + uses: SonarSource/sonarcloud-github-action@v2.0.0 env: SONAR_TOKEN: ${{ inputs.sonar_project_token }} with: