mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
Reworked PR workflow logic to prevent missing parameter (#5367)
This commit is contained in:
parent
bdbed7adc8
commit
d2fb3760d3
3
.github/workflows/scan.yml
vendored
3
.github/workflows/scan.yml
vendored
@ -85,7 +85,6 @@ 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"
|
||||
/d:sonar.host.url="https://sonarcloud.io" ${{ contains(github.event_name, 'pull_request') && format('/d:sonar.pullrequest.key={0}', github.event.pull_request.number) || '' }}
|
||||
dotnet build
|
||||
dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user