1
0
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:
Matt Andreko 2025-02-04 13:53:16 -05:00 committed by GitHub
parent bdbed7adc8
commit d2fb3760d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,6 @@ jobs:
/d:sonar.test.inclusions=test/,bitwarden_license/test/ \ /d:sonar.test.inclusions=test/,bitwarden_license/test/ \
/d:sonar.exclusions=test/,bitwarden_license/test/ \ /d:sonar.exclusions=test/,bitwarden_license/test/ \
/o:"${{ github.repository_owner }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \ /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" ${{ contains(github.event_name, 'pull_request') && format('/d:sonar.pullrequest.key={0}', github.event.pull_request.number) || '' }}
/d:sonar.host.url="https://sonarcloud.io"
dotnet build dotnet build
dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"