diff --git a/.github/codeql/codeql-configuration.yml b/.github/codeql/codeql-configuration.yml index 5012a8c080e48..dbe5b23a53c56 100644 --- a/.github/codeql/codeql-configuration.yml +++ b/.github/codeql/codeql-configuration.yml @@ -1,8 +1,5 @@ name: CodeQL Configuration -paths: - - src - - scripts - - Herebyfile.mjs paths-ignore: - src/lib + - tests diff --git a/azure-pipelines.release.yml b/azure-pipelines.release.yml index 06ec6b6f0b65c..fdf1415501094 100644 --- a/azure-pipelines.release.yml +++ b/azure-pipelines.release.yml @@ -11,7 +11,7 @@ resources: ref: refs/tags/release variables: - Codeql.ExcludePathPatterns: '**/tests' + Codeql.InitParameters: '--codescanning-config=$(Build.SourcesDirectory)/.github/codeql/codeql-configuration.yml' extends: template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines