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 64e2da5f5b8e8..fdf1415501094 100644 --- a/azure-pipelines.release.yml +++ b/azure-pipelines.release.yml @@ -10,6 +10,9 @@ resources: name: 1ESPipelineTemplates/1ESPipelineTemplates ref: refs/tags/release +variables: + Codeql.InitParameters: '--codescanning-config=$(Build.SourcesDirectory)/.github/codeql/codeql-configuration.yml' + extends: template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines parameters: