mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 21:13:58 +02:00
Only disable sonar tasks for fork PR
This commit is contained in:
parent
01290965c5
commit
058ceea16e
1 changed files with 3 additions and 1 deletions
|
|
@ -651,7 +651,6 @@ stages:
|
||||||
- stage: Analyze
|
- stage: Analyze
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
displayName: Analyze
|
displayName: Analyze
|
||||||
condition: eq(variables['system.pullrequest.isfork'], false)
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Lint_Frontend
|
- job: Lint_Frontend
|
||||||
|
|
@ -681,6 +680,7 @@ stages:
|
||||||
|
|
||||||
- job: Analyze_Frontend
|
- job: Analyze_Frontend
|
||||||
displayName: Frontend
|
displayName: Frontend
|
||||||
|
condition: eq(variables['system.pullrequest.isfork'], false)
|
||||||
pool:
|
pool:
|
||||||
vmImage: windows-2019
|
vmImage: windows-2019
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -715,6 +715,7 @@ stages:
|
||||||
- powershell: Set-Service SCardSvr -StartupType Manual
|
- powershell: Set-Service SCardSvr -StartupType Manual
|
||||||
displayName: Enable Windows Test Service
|
displayName: Enable Windows Test Service
|
||||||
- task: SonarCloudPrepare@1
|
- task: SonarCloudPrepare@1
|
||||||
|
condition: eq(variables['system.pullrequest.isfork'], false)
|
||||||
inputs:
|
inputs:
|
||||||
SonarCloud: 'SonarCloud'
|
SonarCloud: 'SonarCloud'
|
||||||
organization: 'readarr'
|
organization: 'readarr'
|
||||||
|
|
@ -733,6 +734,7 @@ stages:
|
||||||
displayName: Coverage Unit Tests
|
displayName: Coverage Unit Tests
|
||||||
- task: SonarCloudAnalyze@1
|
- task: SonarCloudAnalyze@1
|
||||||
displayName: Publish SonarCloud Results
|
displayName: Publish SonarCloud Results
|
||||||
|
condition: eq(variables['system.pullrequest.isfork'], false)
|
||||||
- task: reportgenerator@4
|
- task: reportgenerator@4
|
||||||
displayName: Generate Coverage Report
|
displayName: Generate Coverage Report
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue