[VMR] Disable CodeQL on public builds (#19578)
This commit is contained in:
parent
3938a06ce2
commit
b97fe47626
1 changed files with 5 additions and 8 deletions
|
@ -2,23 +2,17 @@
|
||||||
# NOTE: the triggers are defined in the Azure DevOps UI as they are too complex
|
# NOTE: the triggers are defined in the Azure DevOps UI as they are too complex
|
||||||
#
|
#
|
||||||
# - dotnet-source-build (public)
|
# - dotnet-source-build (public)
|
||||||
|
# https://dev.azure.com/dnceng-public/public/_build?definitionId=240
|
||||||
# - PR: ultralite build
|
# - PR: ultralite build
|
||||||
# - CI: release/* only, every batched commit, full build
|
# - CI: release/* only, every batched commit, full build
|
||||||
# - Schedule: main only, full build
|
# - Schedule: main only, full build
|
||||||
#
|
#
|
||||||
# - dotnet-unified-build (public)
|
# - dotnet-unified-build (public)
|
||||||
|
# https://dev.azure.com/dnceng-public/public/_build?definitionId=278
|
||||||
# - PR: lite build
|
# - PR: lite build
|
||||||
# - CI: release/* only, every batched commit, full build
|
# - CI: release/* only, every batched commit, full build
|
||||||
# - Schedule: main only, 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:
|
variables:
|
||||||
# enable source-only build for pipelines that contain the -source-build string
|
# enable source-only build for pipelines that contain the -source-build string
|
||||||
|
@ -34,6 +28,9 @@ variables:
|
||||||
- name: isPRTrigger
|
- name: isPRTrigger
|
||||||
value: ${{ eq(variables['Build.Reason'], 'PullRequest') }}
|
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
|
- template: /eng/common/templates/variables/pool-providers.yml@self
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue