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:
parent
0337300eac
commit
b5cfb4b9c7
1
.github/workflows/scan.yml
vendored
1
.github/workflows/scan.yml
vendored
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user