From 08683bc8173fd0dab13dacaa5c1c936de8a6e007 Mon Sep 17 00:00:00 2001 From: josesimoes Date: Thu, 12 Mar 2020 19:26:55 +0000 Subject: [PATCH] Work CD-CI - Fix condition to start updating dependents. ***NO_CI**** Signed-off-by: josesimoes --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5ae2a269..c9f9ae8a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -336,7 +336,7 @@ steps: filePath: azure-pipelines/update-dependencies.ps1 env: MY_GITHUB_TOKEN: $(GitHubToken) - condition: or( and( succeeded(), contains(variables['Build.SourceVersionMessage'], '***UPDATE_DEPENDENTS***') ), eq(variables['UPDATE_DEPENDENTS'], 'true') ) + condition: and( succeeded(), ne(variables['system.pullrequest.isfork'], true), or( contains(variables['Build.SourceVersionMessage'], '***UPDATE_DEPENDENTS***') ), eq(variables['UPDATE_DEPENDENTS'], 'true') ) displayName: Update dependent tools # create or update GitHub release