Update SonarQube GitHub Action (#337)

* Updated SonarQube GitHub action to v4.2.1

* Removed unnecessary github token
This commit is contained in:
Matt Andreko
2025-01-15 16:25:56 -05:00
committed by GitHub
parent 51fc839755
commit 4cd50664fd

View File

@@ -64,10 +64,9 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: Scan with SonarCloud
uses: sonarsource/sonarcloud-github-action@383f7e52eae3ab0510c3cb0e7d9d150bbaeab838 # v3.1.0
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 }}