From 6c23f59508d411f06331d0a1aa75eccc51912fcb Mon Sep 17 00:00:00 2001 From: skudasov Date: Sun, 25 Oct 2026 14:20:55 +0100 Subject: [PATCH] In scope of https://smartcontract-it.atlassian.net/browse/DX-5526 we are sunsetting SonarQube. Removing the jobs that run sonarsource/sonarqube-scan-action or the shared smartcontractkit/.github ci-sonarqube-go / ci-sonarqube-ts actions. The SonarScanner CLI downloaded by these actions bundles a Java runtime that still trusts the compromised eMudhra roots, and no fixed release is available yet: - https://github.com/SonarSource/sonarqube-scan-action/pull/287 - https://github.com/SonarSource/sonar-scanner-cli/pull/312 --- .github/workflows/ci.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a56a34c..9059131d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,36 +101,3 @@ jobs: else echo "All shards in the unit test matrix succeeded." fi - - sonarqube: - name: SonarQube Scan - needs: [eslint, unit-tests-matrix] - runs-on: ubuntu-latest - if: always() - steps: - - uses: actions/checkout@v6 - with: - fetch-depth: 0 # fetches all history for all tags and branches to provide more metadata for sonar reports - - - name: Download all reports - uses: actions/download-artifact@v8 - - - name: Update ESLint report symlinks - run: sed -i 's+/home/runner/work/operator-ui/operator-ui/+/github/workspace/+g' ./eslint-report/eslint-report.json - - - name: Set SonarQube Reports Paths - id: sonarqube_report_paths - shell: bash - run: | - echo "sonarqube_coverage_report_paths=$(find -type f -name '*_lcov.info' -printf "%p,")" >> $GITHUB_OUTPUT - echo "sonarqube_eslint_report_paths=$(find -type f -name 'eslint-report.json' -printf "%p,")" >> $GITHUB_OUTPUT - - - name: SonarQube Scan - uses: sonarsource/sonarqube-scan-action@59db25f34e16620e48ab4bb9e4a5dce155cb5432 # v8.0.0 - with: - args: > - -Dsonar.javascript.lcov.reportPaths=${{ steps.sonarqube_report_paths.outputs.sonarqube_coverage_report_paths }} - -Dsonar.eslint.reportPaths=${{ steps.sonarqube_report_paths.outputs.sonarqube_eslint_report_paths }} - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}