Skip to content

Commit 83f81a0

Browse files
Disable CodeQL for courtesy and hotfixes (#19792)
1 parent c62a428 commit 83f81a0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

azure-pipelines.yml

-5
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ extends:
6565
sdl:
6666
sbom:
6767
enabled: false
68-
${{ eq(parameters.enableCodeQL, true) }}:
69-
codeql:
70-
compiled:
71-
enabled: ${{ variables.runCodeQl }}
72-
justificationForDisabling: 'Disabling to not scan AzureDevOpsRepo'
7368
baseline:
7469
baselineSet: default
7570
baselineFile: $(Build.SourcesDirectory)/.gdn/.gdnbaselines

ci/build-single-jobs.yml

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
- job: create_hotfix
3838
displayName: Create HotFix PR
3939
dependsOn: build_single_task
40+
variables:
41+
ONEES_ENFORCED_CODEQL_ENABLED: ${{ eq(parameters.enableCodeQL, true) }}
4042
pool:
4143
name: 1ES-ABTT-Shared-Pool
4244
image: abtt-windows-2022
@@ -51,6 +53,8 @@ jobs:
5153
- job: create_ado_pr
5254
displayName: Update UnifiedDependencies.xml
5355
dependsOn: build_single_task
56+
variables:
57+
ONEES_ENFORCED_CODEQL_ENABLED: ${{ eq(parameters.enableCodeQL, true) }}
5458
pool:
5559
name: 1ES-ABTT-Shared-Pool
5660
image: abtt-windows-2022

0 commit comments

Comments
 (0)