Skip to content

Commit dfa6488

Browse files
author
Victoria Hall
committed
codeql exclusion + skip scan for 3.7
1 parent 9151ecd commit dfa6488

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

eng/ci/official-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ variables:
3131
- template: /eng/templates/utils/variables.yml@self
3232
- template: /eng/templates/utils/official-variables.yml@self
3333

34+
3435
extends:
3536
template: v1/1ES.Official.PipelineTemplate.yml@1es
3637
parameters:
@@ -39,6 +40,8 @@ extends:
3940
image: 1es-windows-2022
4041
os: windows
4142
sdl:
43+
codeql:
44+
excludePathPatterns: '/deps'
4245
codeSignValidation:
4346
enabled: true
4447
break: true

eng/ci/public-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ extends:
4141
compiled:
4242
enabled: true # still only runs for default branch
4343
runSourceLanguagesInSourceAnalysis: true
44+
excludePathPatterns: '/deps'
4445
settings:
4546
skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }}
4647
stages:

pack/templates/macos_64_env_gen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ steps:
1616
pip install pip-audit
1717
pip-audit -r requirements.txt
1818
displayName: 'Run vulnerability scan'
19+
condition: ne(variables['pythonVersion'], '3.7')
1920
- task: CopyFiles@2
2021
inputs:
2122
contents: |

pack/templates/nix_env_gen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ steps:
1616
pip install pip-audit
1717
pip-audit -r requirements.txt
1818
displayName: 'Run vulnerability scan'
19+
condition: ne(variables['pythonVersion'], '3.7')
1920
- task: CopyFiles@2
2021
inputs:
2122
contents: |

pack/templates/win_env_gen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ steps:
1616
pip install pip-audit
1717
pip-audit -r requirements.txt
1818
displayName: 'Run vulnerability scan'
19+
condition: ne(variables['pythonVersion'], '3.7')
1920
- task: CopyFiles@2
2021
inputs:
2122
contents: |

0 commit comments

Comments
 (0)