From 055a58f9e171bbabee7bf0d59deb6e48c7288fea Mon Sep 17 00:00:00 2001 From: Matt Andreko Date: Mon, 13 Jan 2025 12:11:37 -0500 Subject: [PATCH 1/2] Updated SonarQube GitHub action to v4.2.1 --- .github/workflows/scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index adc1cb612..0376b86cf 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -66,7 +66,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Scan with SonarCloud - uses: sonarsource/sonarcloud-github-action@02ef91109b2d589e757aefcfb2854c2783fd7b19 # v4.0.0 + uses: sonarsource/sonarqube-scan-action@bfd4e558cda28cda6b5defafb9232d191be8c203 # v4.2.1 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 790145fdb81f0fed9f17b01d967cb64cbed40f06 Mon Sep 17 00:00:00 2001 From: Matt Andreko Date: Mon, 13 Jan 2025 14:10:26 -0500 Subject: [PATCH 2/2] Removed unnecessary github token --- .github/workflows/scan.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 0376b86cf..a6f69db92 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -69,7 +69,6 @@ jobs: uses: sonarsource/sonarqube-scan-action@bfd4e558cda28cda6b5defafb9232d191be8c203 # v4.2.1 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: args: > -Dsonar.organization=${{ github.repository_owner }}