Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reformat excludePathPatterns #1619

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading