Enable CodeQL with TSA
authormdh1418 <mitchhwang1418@gmail.com>
Thu, 3 Nov 2022 15:15:19 +0000 (23:15 +0800)
committermdh1418 <mitchhwang1418@gmail.com>
Thu, 3 Nov 2022 15:15:19 +0000 (23:15 +0800)
Commit migrated from https://github.com/dotnet/linker/commit/c8099e29e107d20780d3ae9d655917d1a3bb177a

src/tools/illink/.config/tsaoptions.json [new file with mode: 0644]
src/tools/illink/eng/azure-pipelines.yml

diff --git a/src/tools/illink/.config/tsaoptions.json b/src/tools/illink/.config/tsaoptions.json
new file mode 100644 (file)
index 0000000..9815247
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "instanceUrl": "https://devdiv.visualstudio.com/",
+    "template": "TFSDEVDIV",
+    "projectName": "DEVDIV",
+    "areaPath": "DevDiv\\mono",
+    "iterationPath": "DevDiv",
+    "notificationAliases": [ "runtimerepo-infra@microsoft.com" ],
+    "repositoryName": "linker",
+    "codebaseName": "linker"
+}
\ No newline at end of file
index 89696c9..8166f7d 100644 (file)
@@ -28,6 +28,10 @@ variables:
     value: ${{ format('{0} /p:OfficialBuildId=$(Build.BuildNumber) /p:Test=false /p:IntegrationTest=false', variables['_BuildArgs']) }}
   # Provide HelixApiAccessToken for telemetry
   - group: DotNet-HelixApi-Access
+  - name: Codeql.Enabled
+    value: True
+  - name: Codeql.TSAEnabled
+    value: True
 
 stages:
 - stage: build