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