Skip to content

Commit

Permalink
reformat excludePathPatterns (#1619)
Browse files Browse the repository at this point in the history
Co-authored-by: Victoria Hall <[email protected]>
  • Loading branch information
hallvictoria and Victoria Hall authored Dec 6, 2024
1 parent 8f730af commit bbb6624
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
5 changes: 2 additions & 3 deletions eng/ci/official-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ resources:
variables:
- template: /eng/templates/utils/variables.yml@self
- template: /eng/templates/utils/official-variables.yml@self
- name: codeql.excludePathPatterns
value: deps/,build/

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1es
Expand All @@ -39,9 +41,6 @@ extends:
image: 1es-windows-2022
os: windows
sdl:
codeql:
# Exclude dependencies from CodeQL analysis
excludePathPatterns: '/deps,/build'
codeSignValidation:
enabled: true
break: true
Expand Down
13 changes: 6 additions & 7 deletions eng/ci/public-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ resources:

variables:
- template: /eng/templates/utils/variables.yml@self
- name: codeql.excludePathPatterns
value: deps/,build/
- name: codeql.compiled.enabled
value: true
- name: codeql.runSourceLanguagesInSourceAnalysis
value: true

extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es
Expand All @@ -36,13 +42,6 @@ extends:
name: 1es-pool-azfunc-public
image: 1es-windows-2022
os: windows
sdl:
codeql:
compiled:
enabled: true # still only runs for default branch
runSourceLanguagesInSourceAnalysis: true
# Exclude dependencies from CodeQL analysis
excludePathPatterns: '/deps,/build'
settings:
skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }}
stages:
Expand Down

0 comments on commit bbb6624

Please sign in to comment.