[CI] Disable the governance checks on the tests. (#20797)

Disable the autoinjected governance checks in the tests templates since
they timeout on the mac.

ref: https://docs.opensource.microsoft.com/tools/cg/index.html
This commit is contained in:
Manuel de la Pena 2024-07-01 16:58:32 -04:00 коммит произвёл GitHub
Родитель a3f61a970e
Коммит 9a888820b5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -92,6 +92,8 @@ stages:
displayName: 'T:'
timeoutInMinutes: 180
variables:
# disable governance checks in the tests
skipComponentGovernanceDetection: true
# old and ugly env var use by jenkins, we do have parts of the code that use it, contains the PR number
PR_ID: $[ stageDependencies.configure_build.configure.outputs['labels.pr_number'] ]
# set the branch variable name, this is required by jenkins and we have a lot of scripts that depend on it