From 0684fe27b4f7be634cf05bc8083e83293727015d Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Thu, 12 Dec 2024 11:46:29 +0200 Subject: [PATCH] ci: switch to `SonarSource/sonarqube-scan-action` --- .github/workflows/sonarscan.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sonarscan.yml b/.github/workflows/sonarscan.yml index 92c232a..d0f54c8 100644 --- a/.github/workflows/sonarscan.yml +++ b/.github/workflows/sonarscan.yml @@ -36,6 +36,7 @@ jobs: egress-policy: block allowed-endpoints: > api.github.com:443 + binaries.sonarsource.com:443 github.com:443 npm.pkg.github.com:443 objects.githubusercontent.com:443 @@ -71,7 +72,7 @@ jobs: echo "packageVersion=$(jq -r .version package.json)" >> "${GITHUB_OUTPUT}" - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@02ef91109b2d589e757aefcfb2854c2783fd7b19 # v4.0.0 + uses: SonarSource/sonarqube-scan-action@1b442ee39ac3fa7c2acdd410208dcb2bcfaae6c4 # v4.1.0 env: GITHUB_TOKEN: ${{ github.token }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}