From aaf5ddb9843893e34901c7a72c1fe6f43c267432 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Fri, 11 Aug 2023 14:38:40 -0700 Subject: [PATCH] Bump SonarSource/sonarcloud-github-action from 1.8 to 2.0 (#23) --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: