From 909a1959eeccc0815231897fd2016f19133d98ab Mon Sep 17 00:00:00 2001 From: David Nguyen <87228593+davidnguyen-tech@users.noreply.github.com> Date: Thu, 27 Nov 2025 17:02:55 +0100 Subject: [PATCH] Enable CodeQL on release branches --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1d0dae2dc..256c769d1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -32,6 +32,9 @@ extends: enabled: true binskim: enabled: true + codeql: + ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/release/') }}: + enabledOnNonDefaultBranches: true pool: name: $(DncEngInternalBuildPool) image: 1es-windows-2022