[VMR] Disable CodeQL on public builds (#19578)

This commit is contained in:
Alexander Köplinger 2024-04-24 13:18:03 +02:00 committed by GitHub
parent 3938a06ce2
commit b97fe47626
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,23 +2,17 @@
# NOTE: the triggers are defined in the Azure DevOps UI as they are too complex
#
# - dotnet-source-build (public)
# https://dev.azure.com/dnceng-public/public/_build?definitionId=240
# - PR: ultralite build
# - CI: release/* only, every batched commit, full build
# - Schedule: main only, full build
#
# - dotnet-unified-build (public)
# https://dev.azure.com/dnceng-public/public/_build?definitionId=278
# - PR: lite build
# - CI: release/* only, every batched commit, full build
# - Schedule: main only, full build
#
# - dotnet-source-build (internal)
# - PR: ultralite build
#
# - dotnet-source-build-lite (internal)
# - PR: release/* and main, lite build, on-demand trigger
#
# - dotnet-unified-build (internal)
# - PR: lite build
variables:
# enable source-only build for pipelines that contain the -source-build string
@ -34,6 +28,9 @@ variables:
- name: isPRTrigger
value: ${{ eq(variables['Build.Reason'], 'PullRequest') }}
- name: Codeql.Enabled # we run CodeQL on internal builds only
value: false
- template: /eng/common/templates/variables/pool-providers.yml@self
stages: