Skip to content

Commit

Permalink
codeql exclusion + skip scan for 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoria Hall committed Dec 4, 2024
1 parent 9151ecd commit dfa6488
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/ci/official-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ variables:
- template: /eng/templates/utils/variables.yml@self
- template: /eng/templates/utils/official-variables.yml@self


extends:
template: v1/1ES.Official.PipelineTemplate.yml@1es
parameters:
Expand All @@ -39,6 +40,8 @@ extends:
image: 1es-windows-2022
os: windows
sdl:
codeql:
excludePathPatterns: '/deps'
codeSignValidation:
enabled: true
break: true
Expand Down
1 change: 1 addition & 0 deletions eng/ci/public-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ extends:
compiled:
enabled: true # still only runs for default branch
runSourceLanguagesInSourceAnalysis: true
excludePathPatterns: '/deps'
settings:
skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }}
stages:
Expand Down
1 change: 1 addition & 0 deletions pack/templates/macos_64_env_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ steps:
pip install pip-audit
pip-audit -r requirements.txt
displayName: 'Run vulnerability scan'
condition: ne(variables['pythonVersion'], '3.7')
- task: CopyFiles@2
inputs:
contents: |
Expand Down
1 change: 1 addition & 0 deletions pack/templates/nix_env_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ steps:
pip install pip-audit
pip-audit -r requirements.txt
displayName: 'Run vulnerability scan'
condition: ne(variables['pythonVersion'], '3.7')
- task: CopyFiles@2
inputs:
contents: |
Expand Down
1 change: 1 addition & 0 deletions pack/templates/win_env_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ steps:
pip install pip-audit
pip-audit -r requirements.txt
displayName: 'Run vulnerability scan'
condition: ne(variables['pythonVersion'], '3.7')
- task: CopyFiles@2
inputs:
contents: |
Expand Down

0 comments on commit dfa6488

Please sign in to comment.