run codeql in WindowsSDL only

pull/225675/head
João Moreno 2024-08-15 10:57:07 +02:00
parent 8c458c8303
commit 28c286e9b9
No known key found for this signature in database
GPG Key ID: 896B853774D1A575
1 changed files with 8 additions and 2 deletions

View File

@ -182,9 +182,10 @@ extends:
validateToolOutput: None
allTools: true
codeql:
compiled:
buildmode: none
runSourceLanguagesInSourceAnalysis: true
compiled:
enabled: false
justification: "CodeQL runs in the WindowsSDL job only"
credscan:
suppressionsFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/CredScanSuppressions.json
eslint:
@ -326,6 +327,11 @@ extends:
- job: WindowsSDL
variables:
- group: 'API Scan'
templateContext:
sdl:
codeql:
compiled:
enabled: true
steps:
- template: build/azure-pipelines/win32/sdl-scan-win32.yml@self
parameters: