From cabcb6fff07ce656b9201d192ce75b9a397ae8aa Mon Sep 17 00:00:00 2001 From: Roberto Espejo Date: Tue, 2 Sep 2025 17:52:04 +0200 Subject: [PATCH 1/2] ci(NOJIRA-1234): Re-enabled SonarCloud scan --- .github/workflows/pull-request.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 5c9e3e00..0daaa12d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -44,17 +44,15 @@ jobs: - name: Verify coverage file ready run: find . | grep coverage - # Ongoing SonarCloud infrastructure changes are blocking us - # from running this step at this time. Please activate the step again later. - # - name: SonarCloud Scan - # uses: SonarSource/sonarcloud-github-action@v2 - # if: ${{ matrix.node_version == '22' }} - # with: - # args: > - # -Dsonar.projectVersion=${{ github.run_id }} - # env: - # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - # SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }} + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@v2 + if: ${{ matrix.node_version == '22' }} + with: + args: > + -Dsonar.projectVersion=${{ github.run_id }} + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }} functional: runs-on: ubuntu-latest From 21f4be708b3259c9bc119903f734c7bfff2a588b Mon Sep 17 00:00:00 2001 From: Roberto Espejo Date: Tue, 2 Sep 2025 17:54:01 +0200 Subject: [PATCH 2/2] ci(NOJIRA-1234): Updated SonarCloud Scan action to latest --- .github/workflows/pull-request.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 0daaa12d..3bf0b6bb 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -45,7 +45,7 @@ jobs: run: find . | grep coverage - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@v2 + uses: SonarSource/sonarqube-scan-action@v5 if: ${{ matrix.node_version == '22' }} with: args: > @@ -53,6 +53,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }} + LC_ALL: 'C.UTF-8' functional: runs-on: ubuntu-latest