Skip to content

Commit

Permalink
Add TSAoptions and include it to the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
harshit7962 committed Sep 5, 2024
1 parent 4b83839 commit 7fd5ea7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eng/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
parameters:
runAsPublic: true
repoName: dotnet/wpf
TSAEnabled: true
jobs:
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:
- template: /eng/common/templates-official/job/onelocbuild.yml@self
Expand Down Expand Up @@ -45,6 +46,10 @@ jobs:
variables:
- name: Codeql.Enabled
value: true
- name: Codeql.TSAEnabled
value: ${{ parameters.TSAEnabled }}
- name: Codeql.TSAOptionsPath
value: $(Build.SourcesDirectory)/eng/tsa-options.json
- name: _TeamName
value: DotNetCore
- name: _SignType
Expand Down
10 changes: 10 additions & 0 deletions eng/tsa-options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"instanceUrl": "https://devdiv.visualstudio.com/",
"template": "TFSDEVDIV",
"projectName": "DEVDIV",
"areaPath": "DevDiv\\NET Fundamentals\\NET Partners\\WPF\\Security\\SDL",
"iterationPath": "DevDiv",
"notificationAliases": [ "[email protected]" ],
"repositoryName":"wpf",
"codebaseName": "wpf"
}

0 comments on commit 7fd5ea7

Please sign in to comment.