From 8bc5d62bf901cca23b953a3cd633dfcd906a678d Mon Sep 17 00:00:00 2001 From: Manvir Kaur <67894494+manvkaur@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:45:45 -0800 Subject: [PATCH] exclude generated temp folder from CodeQL analysis (#796) --- eng/ci/official-build.yml | 3 +++ eng/ci/public-build.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/eng/ci/official-build.yml b/eng/ci/official-build.yml index 3bc88617..03123081 100644 --- a/eng/ci/official-build.yml +++ b/eng/ci/official-build.yml @@ -46,6 +46,7 @@ extends: codeql: language: java,powershell runSourceLanguagesInSourceAnalysis: true + buildIdentifier: java_worker_official jobs: - template: /eng/ci/templates/official/jobs/build-artifacts.yml@self @@ -55,6 +56,8 @@ extends: sdl: codeql: language: csharp + buildIdentifier: java_worker_csharp_official + excludePathPatterns: '/extract/inst' jobs: - template: /eng/ci/templates/official/jobs/run-e2e-tests-windows.yml@self diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index f27f4566..6703d913 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -42,6 +42,7 @@ extends: sdl: codeql: language: java,powershell + buildIdentifier: java_worker_public runSourceLanguagesInSourceAnalysis: true jobs: - template: /eng/ci/templates/jobs/build.yml@self @@ -52,6 +53,8 @@ extends: sdl: codeql: language: csharp + buildIdentifier: java_worker_csharp_public + excludePathPatterns: '/extract/inst' jobs: - template: /eng/ci/templates/jobs/run-emulated-tests-windows.yml@self