1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-19 02:21:21 +01:00

Enabled SonarQube scanning for PRs (#5363)

* Added scan workflow parameter for PR number to enable branch scanning

* Added missing backslash
This commit is contained in:
Matt Andreko 2025-02-04 12:14:55 -05:00 committed by GitHub
parent 0337300eac
commit b5cfb4b9c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,6 +85,7 @@ jobs:
/d:sonar.test.inclusions=test/,bitwarden_license/test/ \
/d:sonar.exclusions=test/,bitwarden_license/test/ \
/o:"${{ github.repository_owner }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \
/d:sonar.pullrequest.key=${{ github.event.pull_request.number }} \
/d:sonar.host.url="https://sonarcloud.io"
dotnet build
dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"