From 2a4f25616d700705e49f017303a3e8018556de85 Mon Sep 17 00:00:00 2001 From: "REDMOND\\arroyc" Date: Sat, 6 Apr 2024 10:16:56 -0700 Subject: [PATCH] add excludepath pattern --- ado-codeql.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ado-codeql.yml b/ado-codeql.yml index 0474b59ab..65f970b48 100644 --- a/ado-codeql.yml +++ b/ado-codeql.yml @@ -15,12 +15,13 @@ jobs: - task: CodeQL3000Init@0 inputs: Enabled: true - Language: javascript + Language: javascript + ExcludePathPatterns: $(Build.SourcesDirectory)/tests/**/*.java, $(Build.SourcesDirectory)/tests/**/*.py, $(Build.SourcesDirectory)/tests - # Build tasks + # Build tasks no needed for javascript # CodeQL WILL NOT WORK for compiled languages if there are no build tasks here - - pwsh: '& .\release.ps1' - displayName: 'Build project with javascript library' + #- pwsh: '& .\release.ps1' + # displayName: 'Build project with javascript library' - task: CodeQL3000Finalize@0 condition: always() \ No newline at end of file