From 9a888820b53957272a2f205f209698732771d599 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Mon, 1 Jul 2024 16:58:32 -0400 Subject: [PATCH] [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 --- tools/devops/automation/templates/tests/stage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/devops/automation/templates/tests/stage.yml b/tools/devops/automation/templates/tests/stage.yml index 2ce5fb510584..37c10b418bdf 100644 --- a/tools/devops/automation/templates/tests/stage.yml +++ b/tools/devops/automation/templates/tests/stage.yml @@ -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