Skip to content

Commit 6f00a89

Browse files
hallvictoriaVictoria Hall
and
Victoria Hall
authored
fix: codeql exclusion for third party dependencies (#1617)
* codeql exclusion + skip scan for 3.7 * formatting --------- Co-authored-by: Victoria Hall <[email protected]>
1 parent 9151ecd commit 6f00a89

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

eng/ci/official-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ extends:
3939
image: 1es-windows-2022
4040
os: windows
4141
sdl:
42+
codeql:
43+
excludePathPatterns: '/deps'
4244
codeSignValidation:
4345
enabled: true
4446
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)